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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
│ Error: parsing "https://<hsm_id>.managedhsm.azure.net/keys/<key_name>/<key_version>"": internal-error: Managed HSM IDs are not supported as Key Vault Nested Items
Expected Behaviour
The parameter key_vault_key_id should accept a value with ".managedhsm.". Alternatively a new field should be added specifically for managed HSM KVs (e.g. managed_hsm_key_vault_key_id).
Actual Behaviour
The error in Debug Output is thrown.
In the azurerm_mssql_database resource, the key vault id is passed to keyvaultParser → the parser explicitly checks for .managedhsm. in the id . If it exists, the error experienced is thrown.
Steps to Reproduce
Run a terraform apply
Important Factoids
No
References
Similar issues have already been raised / completed previously for other resource types.
Is there an existing issue for this?
Community Note
Terraform Version
1.2.9
AzureRM Provider Version
3.116.0
Affected Resource(s)/Data Source(s)
azurerm_mssql_database
Terraform Configuration Files
Debug Output/Panic Output
│ Error: parsing "https://<hsm_id>.managedhsm.azure.net/keys/<key_name>/<key_version>"": internal-error: Managed HSM IDs are not supported as Key Vault Nested Items
Expected Behaviour
The parameter
key_vault_key_id
should accept a value with ".managedhsm.". Alternatively a new field should be added specifically for managed HSM KVs (e.g.managed_hsm_key_vault_key_id
).Actual Behaviour
The error in Debug Output is thrown.
In the azurerm_mssql_database resource, the key vault id is passed to keyvaultParser → the parser explicitly checks for
.managedhsm.
in the id . If it exists, the error experienced is thrown.Steps to Reproduce
Run a
terraform apply
Important Factoids
No
References
Similar issues have already been raised / completed previously for other resource types.
The text was updated successfully, but these errors were encountered: