-
Notifications
You must be signed in to change notification settings - Fork 1
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
object_id should be current.service_principal_object_id #2
Comments
Hi Alex, I originally tested using the Azure CLI login method (rather than service principal) which is why it worked for me. I did also test this on Terraform Cloud and had a successful plan:
The docs indicate that
According to hashicorp/terraform-provider-azurerm#4486, it looks like this change was added in version 1.35.0 of the provider, so I wonder if perhaps you're on an older version of the provider? Can you try pinning to 1.35.0 and see if this is still an issue?
|
Confirmed. Once
Thank you so much @tdsacilowski |
Hey @tdsacilowski ,
I think
object_id
currently defined as"${data.azurerm_client_config.current.object_id}"
should be"${data.azurerm_client_config.current.service_principal_object_id}"
or it will fail:The text was updated successfully, but these errors were encountered: