Skip to content

Inconsistent UX for multi-stack cdktf commands #2235

Open
@daniel-laszlo

Description

@daniel-laszlo

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

cdktf & Language Versions

cdktf 0.13.2

Affected Resource(s)

cdktf synth
cdktf diff
cdktf deploy

Debug Output

Expected Behavior

Can we standardize options for handling multi-stack workflows? I need to be able to run all subcommands for 1) a specific stack, 2) for all stacks.

Actual Behavior

  • cdktf synth runs for all stacks without supplying any further options, but I cannot specify to run for only one stack
  • cdktf diff requires specifying a stack, but there is no option to run for all stacks
  • cdktf deploy requires specifying a stack or '*' to run for all stacks

Steps to Reproduce

Important Factoids

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions