Skip to content

Commit e344ad0

Browse files
author
Graham Krizek
committed
Update example CLI commands
1 parent 02e1324 commit e344ad0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ $ aws lambda create-function \
3636
--role bashFunctionRole \
3737
--handler index.handler \
3838
--runtime provided \
39-
--layers $ARN
39+
--layers arn:aws:lambda:<region>:744348701589:layer:bash:2 \
40+
--zip-file fileb://function.zip
4041
```
4142

42-
2. Upload your code and start using Bash in AWS Lambda!
43+
2. Start using Bash in AWS Lambda!
4344

4445
### Updating Versions
4546

@@ -60,7 +61,7 @@ $ aws lambda create-function \
6061
```
6162
$ aws lambda update-function-configuration \
6263
--function-name bashFunction \
63-
--layers $ARN
64+
--layers arn:aws:lambda:<region>:744348701589:layer:bash:2
6465
```
6566

6667
### Writing Scripts

0 commit comments

Comments
 (0)