Open alinuxguru70 opened 1 year ago
I am also having the same issue. Did you find any fix for this?
having the same behavior using 3.65.0 provider.
It seems that 3.80 works well.
Trying to create an instance of apim with the following min_api_version:
get a 400 BadRequest error stating:
azurerm version:
It's as though it's completely ignoring the version altogether. Creating the APIM manually in the portal show that api version 2022-09-01 is being used, but trying to use this version in terraform causes the same issue above. Help?
Is there an existing issue for this?
Community Note
Terraform Version
1.5.5
AzureRM Provider Version
3.69.0
Affected Resource(s)/Data Source(s)
azurerm_api_management
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Setting the version 2022-08-01 and the "Prevent users with read-only permissions from accessing service secrets" is set to "Yes"
Actual Behaviour
No longer able to communicate wit the APM instance
2023-08-14T16:29:44.139Z [ERROR] provider.terraform-provider-azurerm_v3.69.0_x5: Response contains error diagnostic: tf_req_id=79df9d9c-ff7d-f773-ceb1-df8e5a2214fe diagnostic_detail= diagnostic_summary=" setting Sign In settings for Api Management: (Service Name "...." / Resource Group "..."): apimanagement.SignInSettingsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="MissingOrIncorrectVersionParameter" Message="API version query parameter is not specified or was specified incorrectly. Supported versions: 2022-08-01,2022-09-01-preview,2023-03-01-preview,2023-05-01-preview Example query param format: api-version=SupportedVersion"" tf_proto_version=5.3 diagnostic_severity=ERROR tf_provider_addr=provider tf_resource_type=azurerm_api_management tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/diag/diagnostics.go:55 @module=sdk.proto timestamp=2023-08-14T16:29:44.139Z
Steps to Reproduce
code snippets are provided above
Important Factoids
No response
References
No response