amplify-category-api icon indicating copy to clipboard operation
amplify-category-api copied to clipboard

feat: allow SQL Lambda to be hotswapped in sandbox

Open bobbyu99 opened this issue 1 year ago • 0 comments

Description of changes

Added a deployment identifier to differentiate between a sandbox and branch deployment. If it is a sandbox deployment, SQLLayerVersionCustomResource and SQLSNSTopicARNCustomResource will use a physical ID in the format of resourceName-YYYY-MM-DD to avoid multiple deployments in the same day.

CDK / CloudFormation Parameters Changed

Issue #, if available

Description of how you validated changes

Unit test added.

Checklist

  • [x] PR description included
  • [x] yarn test passes
  • [x] Tests are changed or added
  • [ ] Relevant documentation is changed or added (and PR referenced)
  • [ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • [ ] Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

bobbyu99 avatar Jul 29 '24 19:07 bobbyu99