-
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
key_vault_reference_identity_id not expected in azurerm_function_app_flex_consumption #28928
Comments
Facing same issue |
Hello, I think it's just some documentation error, as i have checked the scheme for @stephybun for the confirmation. |
Looks like "
|
@AndreuCodina I'm checking with the service team about it, once confirmed, I will add it to the PR. |
doc update is included in the PR, as for adding properties, there will be following PRs coming |
I also created a doc update, for accuracy in example code #28967 |
@joshvito I just ran into the same @xiaxyi Want to address this in this PR? Or should I create a new issue as it's unrelated to this one, and I don't want to assume you'll do the work. Thank you for your hard work on this, btw. |
@ryaneastabrook |
@joshvito Sorry, I meant the allowed properties on the resource. It is, however, in the arguments reference docs |
Okay. I understand. Thank you for the clarification. |
Is there an existing issue for this?
Community Note
Terraform Version
1.10.5
AzureRM Provider Version
4.21.1
Affected Resource(s)/Data Source(s)
azurerm_function_app_flex_consumption
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The Function App uses the managed identity to access Key Vault, as documented in https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/function_app_flex_consumption#key_vault_reference_identity_id-1
Actual Behaviour
│ Error: Unsupported argument
│
│ ... in resource "azurerm_function_app_flex_consumption" "test":
│ key_vault_reference_identity_id = azurerm_user_assigned_identity.test.id
│
│ An argument named "key_vault_reference_identity_id" is not expected here.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
I used the new resource added in #28199
The text was updated successfully, but these errors were encountered: