You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to the latest version of terragrunt, when running terragrunt destroy -auto-approve it still keeps asking for approval.
Steps To Reproduce
❯ terragrunt --versionterragrunt version v0.58.2
❯ terragrunt destroy -auto-approve --terragrunt-no-auto-approve=falseDetected dependent modules:xxxWARNING: Are you sure you want to continue? (y/n)
Expected behavior
If you pass the -auto-approve flag, it should destroy without asking for approval.
Using plain terraform is does without complaining:
❯ terraform --versionTerraform v1.5.7on darwin_arm64+ provider registry.terraform.io/hashicorp/azuread v2.48.0+ provider registry.terraform.io/hashicorp/azurerm v3.101.0+ provider registry.terraform.io/hashicorp/random v3.6.1+ provider terraformprovider.z6.web.core.windows.net/eon/eoncms v5.0.1Your version of Terraform is out of date! The latest versionis 1.8.2. You can update by downloading from https://www.terraform.io/downloads.html
❯ terraform destroy -auto-approve -var-file terragrunt-debug.tfvars.json...Destroy complete! Resources: 15 destroyed.
Versions
Terragrunt version: see before
OpenTofu/Terraform version: see before
Environment details (Ubuntu 20.04, Windows 10, etc.): macos Sonoma
The text was updated successfully, but these errors were encountered:
yes, was also surprised with that behaviour. but when using destroy for the whole set of modules, ( "terragrunt run-all --terragrunt-non-interactive destroy" ) it worked.
Describe the bug
After upgrading to the latest version of terragrunt, when running
terragrunt destroy -auto-approve
it still keeps asking for approval.Steps To Reproduce
Expected behavior
If you pass the -auto-approve flag, it should destroy without asking for approval.
Using plain
terraform
is does without complaining:Versions
The text was updated successfully, but these errors were encountered: