glide icon indicating copy to clipboard operation
glide copied to clipboard

Glide 0.15: collission on multiple prod deployments in same account+region

Open keymon opened this issue 1 year ago • 1 comments

When trying to deploy 2x deployments using different stackName with the regular prod deployment (using gdeploy, not mage dev:deploy) there is a name collision on some resources:

Final stack status: ROLLBACK_COMPLETE
Messages:
  - APIDBTableA8FD77F9: Granted already exists in stack arn:aws:cloudformation:us-west-2:975713946117:stack/CommonFate/cbacbfc0-400e-11ee-8249-0aefbb48e0c7
  - EventBusE9ABF535: Resource handler returned message: "Event bus Granted already exists." (RequestToken: 5f13e7af-0f7a-96dd-3ee3-5d10959d1040, HandlerErrorCode: AlreadyExists)
[!] Your Common Fate deployment update ended in status ROLLBACK_COMPLETE

keymon avatar Nov 23 '23 17:11 keymon

Similarly, glide wizards put the secrets with a specific prefix apiToken: awsssm:///granted/providers/okta/apiToken:1 rather than using, maybe, the stackName

keymon avatar Nov 24 '23 12:11 keymon