-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
: Documentation says application_id
is optional, but gives a required error
#11728
Comments
UPDATE: I don't get the bug using |
Hi @bcline760 thanks for this issue! Actually this does not come from the resource but an issue with the usage of terraform config language. Terraform pops this out because you are using an object array and assign it to
Or you can add the
Both the above approaches solve your issue. If these two solutions work for you, please let me know so that I could close this issue. |
Had the same issue trying to setup permissions for AKS.
FYI: |
Community Note
Terraform (and AzureRM Provider) Version
Terraform 0.15.3
AzureRM 2.59
Affected Resource(s)
azurerm_key_vault
Terraform Configuration Files
Debug Output
Expected Behaviour
The
application_id
in theaccess_policy
block is marked as optional or the documentation is updated to reflect changed behaviorActual Behaviour
See the Debug Output. It produces an error contrary to what the documentation says.
Steps to Reproduce
terraform apply
orterraform init && terraform plan
The text was updated successfully, but these errors were encountered: