Skip to content

Maintenance: Improve Govcloud/China Deployment Github Action #4858

Description

@svozza

Summary

Currently, we must run the GitHub action that deploys to China and GovCloud 4 times, once each of gamma and then for prod. This requires manual steps that are error prone. We should update the deployment job to first deploy to gamma and if that succeeds then deploy to prod.

Let's also add another layer of vaildation, let's add a check to make sure that the layer version passed in to the action is exactly one version above the previous one.

Why is this needed?

This will prevent accidentally forgetting the promote to prod step.

Which area does this relate to?

Automation

Solution

Make the GitHub action deploy to gamma and prod sequentially with the prod deployment only happening if gamma is successful.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Activity

  1. added
    automation
    internal
    confirmed
    on Dec 10, 2025
  2. powertools-for-aws-oss-automation commented on Dec 12, 2025

    @powertools-for-aws-oss-automation

    Warning

    This issue is now closed. Please be mindful that future comments are hard for our team to see.
    If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  3. added
    pending-release
    and removed
    confirmed
    on Dec 12, 2025
  4. moved this from Coming soon to Shipped in Powertools for AWS Lambda (TypeScript)on Dec 15, 2025
  5. added
    completed
    and removed
    pending-release
    on Dec 15, 2025
  6. removed
    internal
    completed
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

automation

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions