Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to use the aws-cloudformation-deploy pipeline to delete a stack

TimCoatesNHS September 12, 2022

It's great to see the aws-cloudformation-deploy pipeline available, it makes it really easy to create a cloudformation stack from a pipeline.

It would be helpful to have a parameter which can be used to trigger a custom pipeline to delete an existing stack, to allow pipelines to clean up after themselves.

Could this be added as an optional parameter for example?

 

- pipe: atlassian/aws-cloudformation-deploy:0.13.0
  variables:
  # AWS_ACCESS_KEY_ID
  # AWS_SECRET_ACCESS_KEY
  # AWS_DEFAULT_REGION
  # STACK_NAME
  # TEMPLATE
  ACTION: DELETE # Defaults to create-stack, but this can be used to override

1 answer

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 16, 2022

@TimCoatesNHS  hi. Thanks for your question.

Unfortunately, we will not implement stack deletion, but if you need this, you can check implementation  which you could use in your pipeline.

 

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events