-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeletionPolicy attribute causes errors #6
Comments
I'm not able to replicate this, can you please share what settings you used to the deploy the stack and in what region? |
Hi @aws-brad, I've used the region eu-west-1 (Ireland) with latest master version of this github repo. I'm not sure how I can help, do you want me to configure a new demo AWS account where the error can be reproduced? |
@aws-brad also in AWS documentation is mentioned that DeletionPolicy is mandatory to be in the CloudFormation template. See https://aws.amazon.com/blogs/aws/new-import-existing-resources-into-a-cloudformation-stack/ Quote:
|
The tool is not meant to be persistent, rather it's to be used for a point in time assessment. By design, the environment will self terminate after completing the analysis, however the S3 bucket and data will persist until the stack is deleted. |
The template does not come up with a DeletionPolicy on the resources to be created. Aws CloudFormation complains that it needs to have a DeletionPolicy mentioned on the resources (see the screenshot below).
error1
I have modified the DeletionPolicy with the value "DeletionPolicy: Delete" yet after I did this change, I got another error "As part of the import operation, you cannot modify or add [Outputs]". See the screenshot below.
error2
Any suggestions ?
The text was updated successfully, but these errors were encountered: