aws-control-tower-customizations icon indicating copy to clipboard operation
aws-control-tower-customizations copied to clipboard

Stackset isn't deleted when we remove the reference from manifest.yaml

Open rmsilva1973 opened this issue 3 years ago • 3 comments

Describe the bug When we remove a stackset entirely from the manifest.yaml it doesn't get deleted by the pipeline

To Reproduce

  • Create a stackset on manifest.yaml, target it to one or more accounts/OUs and commit the code to start the pipeline
  • Confirm the stackset has been deployed
  • Remove the stackset entry entirely from the manifest.yaml and commit the code to start the pipeline
  • Confirm that the stackset hasn't been deleted

(On our environment, we have several stacksets on manifest.yaml. Perhaps creating at least two different stacksets and removing one of them is a more certain way to reproduce)

Expected behavior Stackset should be deleted (and stack instances removed from all OUs/accounts) when it's entry is removed from manifest.yaml

Please complete the following information about the solution:

  • [x] Version: 2.1.0

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0089) - customizations-for-aws-control-tower Solution. Version: v1.0.0". You can also find the version from releases

  • [x] Region: us-east-1
  • [x] Was the solution modified from the version published on this repository? Nope
  • [ ] If the answer to the previous question was yes, are the changes available on GitHub?
  • [x] Have you checked your service quotas for the sevices this solution uses? Yes
  • [x] Were there any errors in the CloudWatch Logs? Nope

rmsilva1973 avatar Feb 09 '22 14:02 rmsilva1973

@rmsilva1973 Thanks for reporting this. We have added this to our backlog.

rakshb avatar Feb 21 '22 20:02 rakshb

Looks like a duplicate of https://github.com/aws-solutions/aws-control-tower-customizations/issues/24

word avatar Mar 09 '22 19:03 word

This is now supported in version 2.5.0

gabrielbac avatar Aug 30 '22 20:08 gabrielbac