-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(core): allow synthesizing a CFN template as an asset (without necessarily deploying it) #12249
Comments
I poked around a little bit to check if this is a duplicate, but didn't notice anything immediately. Feel free to close if it is. |
This is an interesting request. I feel there's probably a generalization to be made between For example, passing a Seems like a useful feature for the use cases you indicated. |
Probably also related to #11896 |
Yea 100% this is a use-case for my original issue. Would love to see this get traction! |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Yes please, I want this for stack sets specifically |
Closing this as a duplicate of #11896, which is linked to the StackSets L2 RFC. |
|
I would like to be able to synthesize and publish cloudformation stack assets without actually creating (deploying) the stack.
Use Case
When using features like Modules or StackSets, you need to provide an s3 url for the template you want to use.
In order to make these features simpler to use with CDK, i'd like the add a cli/configuration/stack option to not actually create the stack on deployment. There may be a simpler way to do this, but i'd like the following experience:
cdk deploy
command and both stack1 and stack2 are synthesized / published to s3, but only stack2 is created/updated.Proposed Solution
Ideas:
core.Stack
class:deploy: false
.Other
Current workaround:
Maintain 2 separate
core.App
files. One that is "deployed" and one that is not. The "deployed" app stacks expect that app1 is synthesized first, and then it uses the filesystem to fetch the corresponding templates.This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: