-
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
Resource 'data.azurerm_client_config.current' does not have attribute 'service_principal_application_id' #2108
Comments
Yes, you are right, I don't use service principal. Empty string is good,
thank you!
…On Sat, Oct 20, 2018, 07:33 kt ***@***.***> wrote:
Hi @ahanoff <https://github.com/ahanoff>,
How are authenticating with azure? Currently the datasource does not
populate those fields if a service principle is not being used and because
of that if you access them there is an error.
I have opened #2120
<#2120>
so that they will instead be set to an empty string.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2108 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACQwd9X42NbjrVVBWrcctFKdk0QZWl35ks5ummErgaJpZM4XsiKj>
.
|
hi @ahanoff Just to let you know that this has been released as a part of v1.18 of the AzureRM Provider (the full changelog is available here). You can upgrade to this by specifying the version in the provider block (as shown below) and then running
Thanks! |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform Version
Terraform v0.11.8
provider.azurerm v1.16.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/ahanoff/a90e87e18294ad1e0b0344a4b0ff75ba
Panic Output
Expected Behavior
Return service_principal_object_id and service_principal_application_id as described in documentation
Actual Behavior
Error output: Resource 'data.azurerm_client_config.current' does not have attribute 'service_principal_application_id'
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: