Skip to content
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

Replacement for depends_on? #165

Open
1 task
RutgerBeyen opened this issue Jun 5, 2023 · 1 comment
Open
1 task

Replacement for depends_on? #165

RutgerBeyen opened this issue Jun 5, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@RutgerBeyen
Copy link

Describe the bug
Stackset order in manifest is not honored during stack instance deletion.

To Reproduce
Manifest deploys StackA which sets a cloudformation export in the member account, next StackB is deployed which uses the first export. Upon deletion of the memberaccount, StackA is deleted first, which fails because one of its exports is being still being used.

Expected behavior
StackB should be deleted first. The resources in the manifest file should be deleted in reverse order of listing/creation.
This behavior was possible with manifest schema version 1, which supported the depends_on attribute.

Please complete the following information about the solution:

  • Version: v2.6.0
@RutgerBeyen RutgerBeyen added the bug Something isn't working label Jun 5, 2023
@balltrev
Copy link

balltrev commented Jun 6, 2023

Hey @RutgerBeyen, thanks for bringing this up!
As you've called out, CfCT's manifest v2 format doesn't currently have any explicit ordering or "depends on" functionality. I've gone ahead and opened a feature request with the team to discuss adding support for this.

@balltrev balltrev added enhancement New feature or request and removed bug Something isn't working labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants