Skip to content

Maintenance: update layers workflow to properly manage artifacts  #1966

Closed
@dreamorosi

Description

@dreamorosi

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.

Metadata

Metadata

Assignees

Labels

automationThis item relates to automationcompletedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions