-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_key_vault_managed_hardware_security_module_role_definition got error when run terraform apply "StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadParameter" Message="Invalid role definition properties" #24790
Comments
Hi @Komsunb , can you create the role definition in the Portal with the same parameter? It looks like a API issue as the error message is helpless. |
Hi @wuxu92 , az keyvault role definition create --hsm-name ContosoMHSM --role-definition '{ |
Hello @wuxu92 Can you tell me for key vault hsm have terraform for create key inside key vault hsm? |
@wuxu92 Thank you so much. |
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. |
Is there an existing issue for this?
Community Note
Terraform Version
1.6.0
AzureRM Provider Version
3.90.0
Affected Resource(s)/Data Source(s)
azurerm_key_vault_managed_hardware_security_module_role_definition
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No response
Actual Behaviour
No response
Steps to Reproduce
Important Factoids
No response
References
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_managed_hardware_security_module_role_definition
The text was updated successfully, but these errors were encountered: