From 54ba8e2c32c5f541f9111752d15899643e79defc Mon Sep 17 00:00:00 2001 From: xuwu1 Date: Mon, 9 Oct 2023 15:03:57 +0800 Subject: [PATCH] use normalize location for local rulestack resource --- internal/services/paloalto/local_rulestack_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/paloalto/local_rulestack_resource.go b/internal/services/paloalto/local_rulestack_resource.go index a43940b9f845..e7d395a1ebc7 100644 --- a/internal/services/paloalto/local_rulestack_resource.go +++ b/internal/services/paloalto/local_rulestack_resource.go @@ -185,7 +185,7 @@ func (r LocalRuleStack) Create() sdk.ResourceFunc { } localRuleStack := localrulestacks.LocalRulestackResource{ - Location: model.Location, + Location: location.Normalize(model.Location), Properties: localrulestacks.RulestackProperties{ DefaultMode: pointer.To(localrulestacks.DefaultModeNONE), Description: pointer.To(model.Description),