Open zeusbaba opened 6 months ago
appending snippets from terraform.log
as well
# from terraform.log (DEBUG)
2024-04-29T08:50:41.851+0200 [ERROR] provider.terraform-provider-azurerm_v3.99.0_x5: Response contains error diagnostic: diagnostic_detail="" diagnostic_severity=ERROR tf_proto_version=5.4 tf_req_id=863de569-redacted @caller=github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/internal/diag/diagnostics.go:58
diagnostic_summary=
| retrieving Subnet Service Endpoint Storage Policy "_e41f87a2_redacted" (Resource Group "rg-redacted"): network.ServiceEndpointPoliciesClient#Get: Failure responding to request: StatusCode=200 -- Original Error: Error occurred unmarshalling JSON - Error = 'json: cannot unmarshal object into Go struct field ServiceEndpointPolicyPropertiesFormat.contextualServiceEndpointPolicies of type string' JSON = '{\r
| "name": "_e41f87a2_redacted",\r
| "id": "/subscriptions/a498c7e3-redacted/resourceGroups/rg-saas-sb1-qa/providers/Microsoft.Network/serviceEndpointPolicies/_e41f87a2_redacted",\r
| "etag": "W/\"83bfed89-redacted\"",\r
| "type": "Microsoft.Network/serviceEndpointPolicies",\r
| "location": "norwayeast",\r
| "properties": {\r
| "provisioningState": "Succeeded",\r
| "resourceGuid": "4f9befbd-redacted",\r
| "serviceAlias": "/services/Azure/ManagedInstance",\r
| "serviceEndpointPolicyDefinitions": [],\r
| "contextualServiceEndpointPolicies": [\r
| {\r
| "id": "/subscriptions/a498c7e3-redacted/resourceGroups/rg-saas-sb1-qa/providers/Microsoft.Network/virtualNetworks/vnet-saassb1qa/subnets/managedinstance/contextualServiceEndpointPolicies/ManagedInstanceContextualPolicy"\r
| }\r
| ]\r
| },\r
| "kind": "Internal"\r
| }'
tf_provider_addr=provider tf_resource_type=azurerm_subnet_service_endpoint_storage_policy tf_rpc=ReadResource @module=sdk.proto timestamp="2024-04-29T08:50:41.851+0200"
Is there an existing issue for this?
Community Note
Terraform Version
1.8.2
AzureRM Provider Version
3.101.0
Affected Resource(s)/Data Source(s)
azurerm_subnet_service_endpoint_storage_policy
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
we are facing issue while using
aztfexport
and the error seems to be originated fromazurerm
provider. see related issueActual Behaviour
we are facing issue while using
aztfexport
and the error seems to be originated fromazurerm
provider. see related issueSteps to Reproduce
see related comment in >>
Important Factoids
azure Norway
References
No response