question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploy all stack in project...or not?

See original GitHub issue

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

Description

In Classic CDK I can execute this command:

cdk deploy \* That deploy all stacks in the project.

So I try the same with cdktf: cdktf deploy \* and cdktf deploy * but maybe is not intended to work in this way.

So my question, and my feature request:

  • With this deploy function I understand that cdktf standard is have one stack with all the resources inside that, is correct? If not, how is intended to work? What would be the standard for organizing the project? Because usually I divide my project in different stacks that rapresent different part of project and the stacks can be many and linked together by refs! So deploy only single stacks becomes a problem with this method.
  • Is a planned functionality or cdktf have made a different choice?

References

No references.

Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
DanielMSchmidtcommented, Mar 8, 2022

Yeah exactly

0reactions
github-actions[bot]commented, Nov 29, 2022

I’m going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you’ve found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create an app with multiple stacks - AWS Documentation
Stacks are the unit of deployment: each stack in an app can be synthesized and deployed individually using the cdk deploy command.
Read more >
Organizing Projects and Stacks - Pulumi
Projects and stacks are intentionally flexible so that they can accommodate diverse needs across a spectrum of team, application, and infrastructure scenarios.
Read more >
Deploy a stack to a swarm - Docker Documentation
The docker stack deploy command supports any Compose file of version “3.0” or above. If you have an older version, see the upgrade...
Read more >
Three Things to Consider Before Deploying Your First Full ...
Building a full stack app is no small endeavor, and deploying it comes with its own host of things to consider.
Read more >
What is Full Stack Deployment? - Sumo Logic
With full stack deployments, everything is re-deployed. The machine (or, more accurately, the virtual machine) is replaced with a fresh one, the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found