From 859c0ced13aacf80a1803421c1909132f3fc15b9 Mon Sep 17 00:00:00 2001 From: Lionel Hercot Date: Sat, 11 Feb 2023 13:53:48 +0100 Subject: [PATCH] [minor_change] Define "mso" as platform default in provider.go and allow MSO_PLATFORM to be used as environment variable --- mso/provider.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mso/provider.go b/mso/provider.go index 5fe0b453..7b942949 100644 --- a/mso/provider.go +++ b/mso/provider.go @@ -52,6 +52,7 @@ func Provider() terraform.ResourceProvider { Type: schema.TypeString, Optional: true, Description: "Parameter that specifies where MSO is installed", // defaults to "mso" + DefaultFunc: schema.EnvDefaultFunc("MSO_PLATFORM", "mso"), ValidateFunc: validation.StringInSlice([]string{ "mso", "nd",