Skip to content

Doesn't generate a CDK project? #748

Answered by ashovlin
douglasg14b asked this question in Q&A
Discussion options

You must be logged in to vote

The tool does generate a CDK project for most of the deployment recipes, but deletes it once the deployment succeeds.

To persist it using the CLI, you can use dotnet aws deployment-project generate to generate the CDK project from one of the built-in recipes:

dotnet aws deployment-project generate --output ../CustomDeploymentProject --project-display-name "Custom deployment project"

You can then modify the persisted CDK project, perhaps to add new resources and options, or to streamline the built-in recipe. You may want to check it into source control alongside your application code.

Then to deploy an application using the persisted CDK project, you can use the --deployment-project switc…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@douglasg14b
Comment options

Answer selected by douglasg14b
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants