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

Refactor infra deletions for storage to use aspects #13

Open
fabdy opened this issue Nov 3, 2022 · 0 comments
Open

Refactor infra deletions for storage to use aspects #13

fabdy opened this issue Nov 3, 2022 · 0 comments

Comments

@fabdy
Copy link
Contributor

fabdy commented Nov 3, 2022

See this blog post:

https://blog.jannikwempe.com/mastering-aws-cdk-aspects

Basically the application of "remove everything if on dev env" can be done by iterating over all constructs and set the right things outside of the construct, e.g. on stack level. Same for tags...

DoD:

The adhoc thingies in the stack class are gone and replaced by something outside of the stack class which just iterates over everything...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant