Skip to content
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

set retain policy to destroy for resources created by PR deploy previews #2417

Open
josefaidt opened this issue Jan 9, 2025 · 1 comment
Labels
deploy Issues related to ampx pipeline-deploy command feature-request New feature or request hosting Issue related to Amplify Hosting

Comments

@josefaidt
Copy link
Contributor

Environment information

n/a

Describe the feature

Customers have the option to enable previews for pull requests against their connected repository. This enables folks to create a new backend for each pull request, which is treated as a branch deployment with a special "pr" identifier. When pull requests are closed or otherwise merged, resources should be destroyed.

When backends are created from PR deploy previews, resources within the stack should have their retain policy set to DESTROY, similar to sandbox deployments.

Use case

n/a

@josefaidt josefaidt added the pending-triage Incoming issues that need categorization label Jan 9, 2025
@ykethan
Copy link
Member

ykethan commented Jan 9, 2025

Marking as feature request for further improvements.

@ykethan ykethan added feature-request New feature or request hosting Issue related to Amplify Hosting deploy Issues related to ampx pipeline-deploy command and removed pending-triage Incoming issues that need categorization labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Issues related to ampx pipeline-deploy command feature-request New feature or request hosting Issue related to Amplify Hosting
Projects
None yet
Development

No branches or pull requests

2 participants