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
The resource creation should have completed and filled in the state information correctly. Subsequent terraform runs should read the state information from the resource and compare with the state file successfully.
Actual Behaviour
Terraform errors with Error: unexpected parameter type map[string]interface {} when reading the state of the application. Full error message:
│ Error: unexpected parameter type map[string]interface {}
│
│ with azurerm_managed_application.vmx,
│ on vmx.tf line 2, in resource "azurerm_managed_application" "vmx":
│ 2: resource "azurerm_managed_application" "vmx" {
This error occurs in multiple regions.
Steps to Reproduce
This issue occurs on creation of resource (via terraform apply), on plan or application of a subsequent run after the provisioning is complete, or when importing the resource into the state file.
The text was updated successfully, but these errors were encountered:
We have the same issue when deploying the VMware SD-WAN in vWAN Network Virtual Appliance.
Behavior:
Terraform apply does the API call to create a resource
It starts to poll the operationStatus of the created resource
Once {"status":"Succeeded"} is returned provider does the API call GET /subscriptions/<subscription_id>/resourceGroups/<rg_name>/providers/Microsoft.Solutions/applications/<app_name>?api-version=2019-07-01
API returns the JSON (azure_vwan_nva_debug.txt) and provider crashes with message Error: unexpected parameter type map[string]interface {}
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.
Community Note
Terraform (and AzureRM Provider) Version
Terraform v1.0.7
on darwin_arm64
Affected Resource(s)
azurerm_managed_application
Terraform Configuration Files
Debug Output
Debug log from running
terraform import
on the resource.https://gist.github.com/oWretch/2aacd66e306083a8cb02e5f8e50a3a22
Expected Behaviour
The resource creation should have completed and filled in the state information correctly. Subsequent terraform runs should read the state information from the resource and compare with the state file successfully.
Actual Behaviour
Terraform errors with
Error: unexpected parameter type map[string]interface {}
when reading the state of the application. Full error message:This error occurs in multiple regions.
Steps to Reproduce
This issue occurs on creation of resource (via
terraform apply
), on plan or application of a subsequent run after the provisioning is complete, or when importing the resource into the state file.The text was updated successfully, but these errors were encountered: