Skip to content

Conversation

v1v
Copy link
Member

@v1v v1v commented Feb 2, 2022

What

Publish the layer as a public layer

Further details

https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountlayer

Test

$ AWS_ACCESS_KEY_ID=*** \
AWS_SECRET_ACCESS_KEY=*** \
AWS_DEFAULT_REGION=us-west-2 \
ELASTIC_LAYER_NAME=v1v-aws-lambda-test \
make grant-public-layer-access

produced

$ cat .aws/.us-west-2-public
{
    "Statement": "{\"Sid\":\"v1v-aws-lambda-test-x86_64\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"lambda:GetLayerVersion\",\"Resource\":\"arn:aws:lambda:us-west-2:267093732750:layer:v1v-aws-lambda-test:1\"}",
    "RevisionId": "d42f1c13-4c4a-4384-9d59-f052d7ef35ef"
}

@github-actions github-actions bot added the aws-λ-extension AWS Lambda Extension label Feb 2, 2022
@v1v v1v requested review from a team, astorm and estolfo February 2, 2022 17:19
@ghost
Copy link

ghost commented Feb 2, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Reason: null

  • Start Time: 2022-02-02T17:19:18.353+0000

  • Duration: 8 min 13 sec

  • Commit: bcc0fd9

Test stats 🧪

Test Results
Failed 0
Passed 84
Skipped 0
Total 84

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@v1v v1v merged commit 421db45 into elastic:main Feb 3, 2022
@v1v v1v self-assigned this Feb 3, 2022
@v1v v1v added the Team:Automation Label for the Observability productivity team label Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws-λ-extension AWS Lambda Extension Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants