1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
You can use dotnet aws deployment-project generate
to persist 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 custom CDK project, you can use the --deployment-project
switch on dotnet aws deploy
:
dotnet aws deploy --deploy-project ../CustomDeploymentProject
Or, if the custom deployment project is located anywhere beneath the solution (.sln) of the project you are deploying, the deployment tool will detect it automatically.
Some more resources:
respondido hace 2 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 8 meses