You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
╷
│ Error: creating Scoped Linker (Resource Uri: "/subscriptions/xx/resourceGroups/zz_delete/providers/Microsoft.Web/sites/main-linuxwebapp"
│ Linker Name: "main-serviceconnector"): performing LinkerCreateOrUpdate: servicelinker.ServiceLinkerClient#LinkerCreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="HttpRequestPayloadAPISpecValidationFailed" Message="HTTP request payload failed validation against API specification with one or more errors. Please see details for more information." Target="Microsoft.Web/sites/main-linuxwebapp/providers/Microsoft.ServiceLinker/linkers/main-serviceconnector" Details=[{"code":"InvalidType","message":"Expected type object but found type string. Paths in payload: '$.properties.authInfo.secretInfo.secretType'"}]
│
│ with azurerm_app_service_connection.main,
│ on main.tf line 45, in resource "azurerm_app_service_connection""main":
│ 45: resource "azurerm_app_service_connection""main" {
│
│ creating Scoped Linker (Resource Uri: "/subscriptions/xxx/resourceGroups/zz_delete/providers/Microsoft.Web/sites/main-linuxwebapp"
│ Linker Name: "main-serviceconnector"): performing LinkerCreateOrUpdate: servicelinker.ServiceLinkerClient#LinkerCreateOrUpdate: Failure sending request: StatusCode=0
│ -- Original Error: Code="HttpRequestPayloadAPISpecValidationFailed" Message="HTTP request payload failed validation against API specification with one or more errors.│ Please see details for more information." Target="Microsoft.Web/sites/main-linuxwebapp/providers/Microsoft.ServiceLinker/linkers/main-serviceconnector"
│ Details=[{"code":"InvalidType","message":"Expected type object but found type string. Paths in payload: '$.properties.authInfo.secretInfo.secretType'"}]
Expected Behaviour
Succeed
Actual Behaviour
No response
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Thanks @yellowhat for raising this issue. Seems the type that's send to the api is not the expected one. I will raise a pr for the fix and update progress here.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.5
AzureRM Provider Version
3.33.0
Affected Resource(s)/Data Source(s)
azurerm_app_service_connection
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Succeed
Actual Behaviour
No response
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: