-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
allowed_applications
of active_directory_v2
on azurerm_windows_function_app
doesn't work
#25897
Comments
This issue is also affecting our team and is exactly as described above. Plan highlights the fact that allowed_applications will be updated, but Apply does not update the value. Found this in the log files, if it's any help: - 2024-05-16T12:59:50.007Z [WARN] Provider "provider["registry.terraform.io/hashicorp/azurerm"]" produced an unexpected new value for module.function_app.azurerm_windows_function_app.function_app, but we are tolerating it because it is using the legacy plugin SDK. |
Interesting, so the issue is on both linux and windows function apps |
Interesting, or suspicious, that the "read-only" note is only shown on the Linux function app. |
I couldn't find any other way to set this using code, nor powershell nor az cli. It's possible the issue is the Azure API does not support it, and the note should be also on the Windows function app. That would be sad news. |
You can configure it via the Portal, and although Terraform identifies a change is necessary, but doesn't apply a change, it also doesn't undo a manual update via the Azure portal. |
Yes that is the same behaviour as for the Linux Function App. |
Looks it works now: after deployed, I can see it in Azure Portal UI. Means the "Allowed client applications" input now has values. |
I do not see any change in behaviour for me. What about @bw-adriangould ? |
I haven't tried yet but no change of behavior is expected without an update to the AzureRm provider module. I'm currently on hashicorp/azurerm v3.103.1 |
No change and nothing in the AzureRm provider change log to indicate anything has changed. |
Is there an existing issue for this?
Community Note
Terraform Version
1.5.6
AzureRM Provider Version
3.101.0
Affected Resource(s)/Data Source(s)
azurerm_windows_function_app
Terraform Configuration Files
Debug Output/Panic Output
after deploy, in Azure portal, allowed_applications is empty.
Expected Behaviour
In Azure portal, I can see the allowed application which I have set.
Actual Behaviour
after deploy, in Azure portal, allowed_applications is empty.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: