Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenbawks committed Jan 1, 2022
1 parent d63444a commit fa863c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ And as an example would result in a path that looks like the following:

The `principal` variable is the account number you want to share the layer with. If you put "*" here that will share it to the world.

### Resulting Layer Name

The resulting layer name will look like the following.


arn:aws:lambda:`<AWS_REGION>`:`<AWS_ACCOUNT_ID>`:layer:`<layer-name>`-`<mm-dd-yyy>`:`<layer_version>`


## Layer Paths for each Lambda runtime
For each Lambda runtime, the PATH variable includes specific folders in the /opt directory. If you define the same folder structure in your layer .zip file archive, your function code can access the layer content without the need to specify the path.

Expand Down

0 comments on commit fa863c4

Please sign in to comment.