azurerm_cdn_endpoint_custom_domain is not properly choosing Latest certificate #20772
Closed
1 task done
Labels
service/cdn
upstream/microsoft
Indicates that there's an upstream issue blocking this issue/PR
v/3.x
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.45.0
Affected Resource(s)/Data Source(s)
azurerm_cdn_endpoint_custom_domain
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Terraform should explicity choose Latest certificate when no version is provided.
Actual Behaviour
Terraform is not choosing Latest version. On portal Certificate/Secret version is empty, even if it is required:
After checking from az cli I could see difference in secretVersion. When I manually set secretVersion to Latest it looks like this:
secretVersion is null when after Terraform set certificate the version is:
"secretVersion": ""
Steps to Reproduce
Run Terraform with azurerm_cdn_endpoint_custom_domain connected to KeyVault secret.
Important Factoids
No response
References
Documentation could note how to provide specific version.
The text was updated successfully, but these errors were encountered: