hashicorp / terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
https://www.terraform.io/cdktf
Mozilla Public License 2.0
4.8k stars 443 forks source link

CDKTF-CLI: Options order during apply #3667

Open rtrompier opened 2 weeks ago

rtrompier commented 2 weeks ago

Description

The Approve choice should not be the first choice when running a deploy action. In Terraform, when running an Apply, you must type yes to apply changes. This means the change will be canceled if you press enter accidentally. Here, with CDKTF, it will be applied, which can be very dangerous.

image

If you agree, I think we need to change the choice order here. I'll be happy to make a PR to improve it.

References

No response

Help Wanted

Community Note