Loading...
Loading...
### Terraform Version ```shell Terraform v1.7.3 on darwin_arm64 + provider registry.terraform.io/hashicorp/azurerm v3.90.0 ``` ### Terraform Configuration Files module: main.tf ```terraform ... dynamic "registry" { for_each = var.registry_config[*] content { server = registry.server username = registry.username password_secret_name = registry.password_secret_name } } ... ``` module: variables.tf ```terraform ... variable "registry_config" { default = null nullable = true sensitive = true type = object({ server = string username = string password_secret_name = string }) } ... ``` ### Debug Output [Gist crash - terraform 1.6.3](https://gist.github.com/maxxiefjv/bfc357675843cb9690e61cffe9043243) [Gist crash - terraform 1.7.3](https://gist.github.com/maxxiefjv/e1dc041ce930581c488ba77e179e5673) ### Expected Behavior I would expect an error log saying you cannot splat nullable variables... or variables containing the `null` value. ### Actual Behavior Terraform crashed asking me to report ### Steps to Reproduce 1. `terraform init` 2. `terraform apply` ### Additional Context Ran into this crash when setting up [Azure Container App](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/container_app)
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.