Question about terraform.tfstate mappings

You’re mixing up blob storage keys and access keys. A “key” in this sense represents a file path in blob storage, while an “access_key” is a login to that blob.

If you fill an environment variable named ARM_ACCESS_KEY with the given storage account access key described in that documentation, then you don’t have to define that access key as a constant in the backend configuration (which would be insecure).

The settings you have thus far are correct. If you define the environment variable I described above, Terraform will use it when connecting to remote state storage.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top