amplify-category-api
amplify-category-api copied to clipboard
feat: allow SQL Lambda to be hotswapped in sandbox
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 testpasses - [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.