Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update region denylist for lambda layers #1171

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

marofke
Copy link
Contributor

@marofke marofke commented Dec 22, 2023

Problem

Lambda layers were failing to publish with:

UnrecognizedClientException: The security token included in the request is invalid

It turns out this error was caused by lambda layers trying to be added to new AWS regions, which are deactivated by default. See a list of new regions here: https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html

Solution

Updated the deny list of regions to attempt publishing lambda layers to, as new regions have been added since the last RFDK release. Added a log statement so it's clear which region has failed.

Testing

  • recreated the error attempting to publish to my account
  • successfully published and wrote lambda layers to my account

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@jusiskin jusiskin changed the title fix: update region denylist for lambda layers ci: update region denylist for lambda layers Dec 22, 2023
@jusiskin jusiskin merged commit 01edb9f into mainline Dec 22, 2023
3 checks passed
@jusiskin jusiskin deleted the marofke/lambda-layer-region-deny-list branch December 22, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants