Checking and removing ressources from CloudFormation template automatically #20611
Unanswered
Mathias-dcm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there any ways of excluding some ressources that are in a template from a sam deploy command ?
I mean, it would work like a sam validate but with a modification of the template if it doesn't fit with my rules.
For example, I want to check if my CloudFormation template does have a
"Type": "AWS::CodePipeline::Pipeline"
section, and remove it if it does.Do you have any tools or use of parameters that could achieve that ? It could also happend in the CDK Synth command because that's how i'm generating templates (code is hardly editable), or in the sam deploy command (or any other library).
For information, i'm also running my stack deploys commands from a GitLab runner, therefore I cannot Prompt it.
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions