awslabs / aws-saas-boost

AWS SaaS Boost is a ready-to-use toolset that removes the complexity of successfully running SaaS workloads in the AWS cloud.
Apache License 2.0
957 stars 188 forks source link

Tenant update race condition #451

Closed brtrvn closed 1 year ago

brtrvn commented 1 year ago

Use DynamoDB updateItem instead of getItem -> updateItem when processing tenant events to avoid unexpected loss of results when concurrent invocations step on each other.

This PR also adds IAM permissions for tag management of ECR repos to resolve an unreported error during initial app config save when the ECR repository is generated for each service.

Fixes #243


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