-
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
azurerm_linux_function_app returns empty string from default_hostname #16263
Comments
just an addendum it's not just DefaultHostname quite a number of properties are missing. |
I've noticed the same behavior on the azurerm_windows_function_app resource and data objects, as well. I've just updated to version 1.1.8 and it's still a problem there. As a workaround, I'm using the azurerm_function_app data object and retrieving the default_hostname for my function app from that. |
Have the same issue on azurerm v3.3.0, terraform v1.19.0 |
Can you share code on how you got the default_host name? |
I just tried this and it works. That is confusing, but it's the best we got at the moment. Thanks for the tip! 👍 |
Here's a quick sample of how I'm using the azurerm_function_app data object to retrieve default_hostname:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@ericfaure007 Think they prefer us to 👍 the original rather than putting comments in if we've reproduced it. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Thanks guys for pointing out this issue, please track the fix in the mentioned pr |
This functionality has been released in v3.14.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.1.7
AzureRM Provider Version
3.0.2
Affected Resource(s)/Data Source(s)
azurerm_linux_function_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The Linux azure function app should have
default_hostname
property set.Actual Behaviour
default_hostname
property value is emptySteps to Reproduce
Important Factoids
No response
References
Original report: #16176
The text was updated successfully, but these errors were encountered: