Closed robinkb closed 4 years ago
Hey @robinkb, thanks for opening this issue. We had the same one open under #8428 and got it fixed in #8430. That fix should go out in the next release! Thanks for your patience here
Whoops, I think I missed that issue because it was already marked as closed, even though the issue is still present in the current release. Thanks for the quick response and fixing the problem!
Fixed via #8430
This has been released in version 2.28.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:
provider "azurerm" {
version = "~> 2.28.0"
}
# ... other configuration ...
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.13.2
Affected Resource(s)
data.azurerm_function_app_host_keys
Terraform Configuration Files
Below are what I think are the relevant resources. It may also be important to note that the output of the data source is consumed in another resource. But, seeing as the panic log directly mentions the
azurerm_function_app_host_keys
data source, I don't think the other config is relevant.Debug Output
I haven't run Terraform again to get the complete debug output because I got a crash log, but I can run it again if needed.
Panic Output
Panic output to the console:
I would rather not link a full crash log, because that contains sensitive information. If the above output contains enough information, I can spend the time scrubbing the crash log, but I would much rather not do that.
Expected Behavior
Terraform produces a valid plan to setup a new environment.
Actual Behavior
Terraform crashes during the planning phase.
Steps to Reproduce
terraform workspace new clean-workspace
terraform plan
Important Factoids
The crash does not occur when using the data source in a workspace where the Azure Function App that it references already exists.
References
0000