Skip to content

Maintenance: update layers workflow to properly manage artifacts #1966

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

Closed
1 of 2 tasks
dreamorosi opened this issue Jan 25, 2024 · 1 comment · Fixed by #1970
Closed
1 of 2 tasks

Maintenance: update layers workflow to properly manage artifacts #1966

dreamorosi opened this issue Jan 25, 2024 · 1 comment · Fixed by #1970
Assignees
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.)

Comments

@dreamorosi
Copy link
Contributor

dreamorosi commented Jan 25, 2024

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.

@dreamorosi dreamorosi added triage This item has not been triaged by a maintainer, please wait internal PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.) labels Jan 25, 2024
@dreamorosi dreamorosi self-assigned this Jan 25, 2024
@dreamorosi dreamorosi moved this from Triage to Working on it in Powertools for AWS Lambda (TypeScript) Jan 25, 2024
@dreamorosi dreamorosi added automation This item relates to automation confirmed The scope is clear, ready for implementation and removed triage This item has not been triaged by a maintainer, please wait labels Jan 25, 2024
@dreamorosi dreamorosi linked a pull request Jan 26, 2024 that will close this issue
9 tasks
@github-project-automation github-project-automation bot moved this from Working on it to Coming soon in Powertools for AWS Lambda (TypeScript) Jan 26, 2024
@dreamorosi dreamorosi moved this from Coming soon to Shipped in Powertools for AWS Lambda (TypeScript) Jan 26, 2024
@dreamorosi dreamorosi added completed This item is complete and has been merged/shipped and removed confirmed The scope is clear, ready for implementation labels Jan 26, 2024
Copy link
Contributor

⚠️ COMMENT VISIBILITY WARNING ⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.)
Projects
1 participant