Remote state listing keys requires az default subscription set #29425
Comments
Since this issue has been reported a long time ago and relates to the version of provider we no longer support - I'm going to close it. Please open a new updated bug report on current versions of terraform and provider if this is still relevant. Thank you. |
@favoretti this is still an issue with the latest version can we please just reopen? |
@drdamour certainly. Apologies for closing too early. |
Transferring this to Core since Backends are located within the Core repository - so this documentation issue needs to be fixed here |
Hi, I want to contribute to this but even though I read the docs, I couldn't fully understand the situation. I wonder if we should create a new field in this document and give information about the cli? @tombuildsstuff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm provider
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
TF should attempt to retrieve keys for the subscription identified in the azurerm provider configuration explicitly.
Actual Behavior
TF attempts to retrieve keys for the default subscription of the azure cli
Steps to Reproduce
terraform init
you'll get an error about not being able to retrieve keys. running the following works around the issue.
terraform init
Important Factoids
References
The text was updated successfully, but these errors were encountered: