Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Cannot create multiple stacks #44

Closed
arun-gupta opened this issue Oct 12, 2019 · 2 comments
Closed

Cannot create multiple stacks #44

arun-gupta opened this issue Oct 12, 2019 · 2 comments

Comments

@arun-gupta
Copy link

Had a CloudFormation stack already deployed and could access the website. Tried to build from the source and deploy it again as:

aws cloudformation deploy --template-file target/sam/app/packaged-template.yaml --capabilities CAPABILITY_IAM CAPABILITY_AUTO_EXPAND --stack-name realworld-serverless-app

The stack could not be created and gave the error:

Embedded stack arn:aws:cloudformation:us-east-1:091144949931:stack/realworld2-Backend-1FRU9J92MJ6YQ/3f78b710-ed16-11e9-a33f-1207b4ca758c was not successfully created: The following resource(s) failed to create: [Database].

Tried this a couple of times and got the exact same error.

Deleted the original stack, and then this new stack could be successfully deployed.

Might be related to #42

@jlhood
Copy link
Contributor

jlhood commented Oct 12, 2019

@arun-gupta It's likely related to #42. Try adding --parameter-overrides Stage=dev to your aws cloudformation deploy command and see if you get the same error.

@arun-gupta
Copy link
Author

That works like a charm, will close the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants