Skip to content

receive error when initializing the backend #1

@dsmithcloud

Description

@dsmithcloud

Following the steps as outlined in the README, I receive the following error when running terraform init to initialize the backend:

Initializing the backend...

Error configuring the backend "azurerm": resource_group_name and credentials must be provided when access_key is absent

Please update the configuration in your Terraform files to fix this error
then run this command again.

To resolve this, I commented out the line in outputs.tf that sets sensitive=true so I could see the key, then re-ran

terraform init -backend-config="access_key=".

This may be a terraform-related bug:
hashicorp/terraform#18325

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions