From ed0d57d1b78324c5d6c0b15a3f63890cfeb8697c Mon Sep 17 00:00:00 2001 From: Malik Bougacha Date: Mon, 6 Nov 2017 17:59:48 +0100 Subject: [PATCH] Get the enviroment from the environment variable (#16326) * Get the enviroment from the enviroment variable * typo --- backend/remote-state/azure/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/remote-state/azure/backend.go b/backend/remote-state/azure/backend.go index 5c7577b30..38e6de5da 100644 --- a/backend/remote-state/azure/backend.go +++ b/backend/remote-state/azure/backend.go @@ -39,7 +39,7 @@ func New() backend.Backend { Type: schema.TypeString, Optional: true, Description: "The Azure cloud environment.", - Default: "", + DefaultFunc: schema.EnvDefaultFunc("ARM_ENVIRONMENT", ""), }, "access_key": {