Open fkpwolf opened 2 months ago
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. The following problems may be the cause of any confusing errors from downstream operations:
+1 Also have an issue with this. (edit: but with linux function app)
However note, not sure if related
+1 Also have an issue with this.
However note, not sure if related
Thanks, but that note is related to a Linux function app and not a Windows function app.
Interesting, so the issue is on both linux and windows function apps
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. My immediate issue is with the Windows function app.
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. My immediate issue is with the Windows 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.
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. My immediate issue is with the Windows 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.
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. My immediate issue is with the Windows 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.
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 ?
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. What version are you using @fkpwolf ?
I'm currently on hashicorp/azurerm v3.103.1
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 ?
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
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