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: Error parsing Key Vault Child ID: Azure KeyVault Child Id should have 3 segments, got 2: 'secrets/ssl-cert'
Panic Output
Expected Behavior
The key vault url should not require the version. By requiring a version, it defeats the purpose of using key vault, which allows new certs to be uploaded without requiring a new deployment of api management
It's also not possible to obtain a versionless url from the secret datasource without using the above function.
Actual Behavior
Using the Azure portal sets the versionless url, which Terraform will then undo.
The provider uses the Keyvault validation function for a secret that requires 3 parts. In this instance, on 2 parts are required & are preferred. This validation was appears to have been added in #2189
Steps to Reproduce
Define an api management resource with a custom domain.
Upload a certificate for the custom domain to a key vault store
Link the key vault cert to the custom domain
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked and limited conversation to collaborators
Jun 14, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
1.30.0
Affected Resource(s)
azurerm_api_management
Terraform Configuration Files
Debug Output
Error: Error parsing Key Vault Child ID: Azure KeyVault Child Id should have 3 segments, got 2: 'secrets/ssl-cert'
Panic Output
Expected Behavior
The key vault url should not require the version. By requiring a version, it defeats the purpose of using key vault, which allows new certs to be uploaded without requiring a new deployment of api management
It's also not possible to obtain a versionless url from the secret datasource without using the above function.
Actual Behavior
Using the Azure portal sets the versionless url, which Terraform will then undo.
The provider uses the Keyvault validation function for a secret that requires 3 parts. In this instance, on 2 parts are required & are preferred. This validation was appears to have been added in #2189
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: