Maintenance: update layers workflow to properly manage artifacts #1966
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.)
Summary
After updating the
github/upload-artifact
action we need to make changes to the workflow that deploys the Lambda Layers so that it handles the artifact used to identify the layer ARN properly.In order to add the ARN to the docs we upload an GitHub artifact containing a text file. We do this both in the beta and prod workflow.
Why is this needed?
In a previous version of the GH Action artifacts were treated as mutable, but in this version are immutable so we need to explicitly configure the action to overwrite the previous version since by the time the production workflow runs there's already an artifact created by the beta run.
Which area does this relate to?
Automation
Solution
See action migration steps
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: