-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom_domain_verification_id output not being written to state file for azurerm_windows_function_app and azurerm_windows_function_app_slot resources #17042
Comments
Hi, I have the same issue |
Works now in azurerm provider v3.10.0 |
Closed by #17183 |
This functionality has been released in v3.11.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Is there an existing issue for this?
Community Note
Terraform Version
1.0.0
AzureRM Provider Version
3.8.0
Affected Resource(s)/Data Source(s)
azurerm_windows_function_app, azurerm_windows_function_app_slot
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The Custom Domain Verification ID should be output to the state file for use as inputs for other modules.
Actual Behaviour
A blank output is written to the state file.
This works correctly for the resouce: azurerm_windows_web_app
Looking at the code, it appears there are discrepancies in what is written to state between the azurerm_windows_web_app and the azurerm_windows_function_app resources. Notably, CustomDomainVerificationId is missing from the section "state := WindowsFunctionAppModel" for azurerm_windows_function_app
azurerm_windows_function_app
Starting at line 580, CustomDomainVerificationId isn't present
https://github.com/hashicorp/terraform-provider-azurerm/blob/main/internal/services/appservice/windows_function_app_resource.go
azurerm_windows_web_app
On line 500, there is an entry for:
CustomDomainVerificationId
https://github.com/hashicorp/terraform-provider-azurerm/blob/main/internal/services/appservice/windows_web_app_resource.go
It appears these are missing for azurerm_linux_function_app and azurerm_linux_function_app_slot as well.
Steps to Reproduce
Apply code for any function app or function app slot with custom_domain_verification_id as an output
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: