Skip to content

Instantly share code, notes, and snippets.

@pichuang
Created April 17, 2024 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pichuang/a6584a519b12336aff6b2957c9b8def2 to your computer and use it in GitHub Desktop.
Save pichuang/a6584a519b12336aff6b2957c9b8def2 to your computer and use it in GitHub Desktop.
Disable ARM_PROVIDER_ENHANCED_VALIDATION
$ ARM_PROVIDER_ENHANCED_VALIDATION=false terraform plan
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
+ create
Terraform will perform the following actions:
# azurerm_resource_group.rg-taiwannorth will be created
+ resource "azurerm_resource_group" "rg-taiwannorth" {
+ id = (known after apply)
+ location = "taiwannorth"
+ name = "rg-taiwannorth"
}
Plan: 1 to add, 0 to change, 0 to destroy.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you
run "terraform apply" now.
$ cat ~/.zshrc |grep "export ARM_PROVIDER_ENHANCED_VALIDATION=false"
export ARM_PROVIDER_ENHANCED_VALIDATION=false
$ terraform plan
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
+ create
Terraform will perform the following actions:
# azurerm_resource_group.rg-taiwannorth will be created
+ resource "azurerm_resource_group" "rg-taiwannorth" {
+ id = (known after apply)
+ location = "taiwannorth"
+ name = "rg-taiwannorth"
}
Plan: 1 to add, 0 to change, 0 to destroy.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you
run "terraform apply" now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment