Maintenance: add canary step to layer workflows #1355
Labels
automation
This item relates to automation
completed
This item is complete and has been merged/shipped
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
layers
Items related to the Lambda Layers pipeline
Summary
During the current layer distribution we run e2e tests before deploying the layer. This gives us confidence that layer deployment will work. However, after we deploy a public layer we do not run canary tests to test this specific layer. Thus, we should add a canary step to our workflow, similar what powertools python have, so we can catch any layer deployment issues during a release.
Why is this needed?
There is a chance that the public layer we have distributed does not work, and we have no mechanism right now to catch this problems.
Which area does this relate to?
No response
Solution
Add a canary stack, see
canary_stack
from powertools python, that adds the deployed public layer and runs a lambda function using powertools. We should roll out canary deployment after beta and prod deployments in our layer workflow.Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: