Skip to content

Commit d2288f0

Browse files
committed
Add note about image name to aws-import.
1 parent 0da1c99 commit d2288f0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/aws.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,6 @@ nodejs -handler sns.handler sns.js
229229
This will create a local docker image. The `publish-function` command will
230230
upload this to Docker Hub and register it with IronWorker.
231231

232-
FIXME(nikhil): AWS credentials bit.
233-
234232
To be able to use the AWS SDK, you'll also need to set two environment
235233
variables. The values must be your AWS credentials.
236234

docs/import.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ ironcli lambda aws-import my-function
2929
will import the function code to a directory called `./my-function`. It will
3030
then create a docker image called `my-function`.
3131

32+
Using Lambda with Docker Hub and Iron Worker requires that the Docker image be
33+
named `<Docker Hub username>/<image name>`. This is used to uniquely identify
34+
images on Docker Hub. Please use the `-image <Docker Hub username>/<image
35+
name>` flag to `aws-import` to create a correctly named image.
36+
3237
If you only want to download the code, pass the `-download-only` flag. The
3338
`-region` and `-profile` flags are available similar to the `aws` tool to help
3439
you tweak the settings on a command level. If you want to call the docker image

0 commit comments

Comments
 (0)