aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.57k stars 3.88k forks source link

″cdk apply″ available as an Alias for cdk deploy #23553

Open watany-dev opened 1 year ago

watany-dev commented 1 year ago

Describe the feature

We would be happy to have cdk apply available as an alias to cdk deploy. There is no need to change the current deploy implementation at all!

Use Case

Here are two reasons why we recommend it

  1. consistent experience Both kubernetes and Terraform have an apply command for template upsert. This is the same operation as cdk deploy. cdk8s, cdktf also have an apply command similar to the above. we would be happy to have an alias for cdk as we would like to operate in the same way with cdk.

  2. mixing deploy and destroy Having two different cdk de*oy is confusing user perception. At least it is for me:)

Proposed Solution

No response

Other Information

No response

Acknowledgements

CDK version used

2.58.1

Environment details (OS name and version, etc.)

any

peterwoodworth commented 1 year ago

Thanks for the feature request, you make some good reasons to include this! We'll discuss this as a team and let you know