Loading...
Loading...
### Terraform Version ```shell Terraform v1.10.5 on darwin_arm64 + provider registry.terraform.io/hashicorp/azurerm v4.16.0 ``` ### Terraform Configuration Files ```terraform provider "azurerm" { features {} } resource "azurerm_resource_group" "example" { name = "pszypowicz" location = "West Europe" } resource "azurerm_virtual_network" "example" { name = "pszypowicz" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name address_space = ["10.0.0.0/16"] dns_servers = ["10.0.0.4", "10.0.0.5"] subnet { name = "subnet1" address_prefixes = ["10.0.1.0/24"] } subnet { name = "subnet2" address_prefixes = ["10.0.2.0/24"] } tags = { environment = "Production" } } resource "terraform_data" "network" { input = { vnet = azurerm_virtual_network.example } } ``` ### Debug Output ``` https://gist.github.com/pszypowicz/33094b0e53b358f49031cf23b6777806 ``` ### Expected Behavior Apply should work ### Actual Behavior ``` ╷ │ Error: Provider produced inconsistent final plan │ │ When expanding the plan for terraform_data.network to include new values │ learned so far during apply, provider "terraform.io/builtin/terraform" │ produced an invalid new value for .input.vnet.bgp_community: was null, but │ now cty.StringVal(""). │ │ This is a bug in the provider, which should be reported in the provider's │ own issue tracker. ╵ ╷ │ Error: Provider produced inconsistent final plan │ │ When expanding the plan for terraform_data.network to include new values │ learned so far during apply, provider "terraform.io/builtin/terraform" │ produced an invalid new value for .input.vnet.edge_zone: was null, but now │ cty.StringVal(""). │ │ This is a bug in the provider, which should be reported in the provider's │ own issue tracker. ╵ ╷ │ Error: Provider produced inconsistent final plan │ │ When expanding the plan for terraform_data.network to include new values │ learned so far during apply, provider "terraform.io/builtin/terraform" │ produced an invalid new value for .input.vnet.flow_timeout_in_minutes: was │ null, but now cty.NumberIntVal(0). │ │ This is a bug in the provider, which should be reported in the provider's │ own issue tracker. ╵ ``` ### Steps to Reproduce 1. `terraform init` 2. `terraform apply` ### Additional Context I am using `azurerm_virtual_network` resource ### References https://github.com/hashicorp/terraform-provider-azurerm/issues/28628 ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.