From c5cb02dff5756724cdf69cd302e2eba7e0468ecf Mon Sep 17 00:00:00 2001 From: Vamsi Nainavarapu Date: Mon, 30 Sep 2024 22:27:05 -0500 Subject: [PATCH] OCM-11994 | fix: updated to allow iam role for creator arn --- provider/clusterrosa/common/consts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/clusterrosa/common/consts.go b/provider/clusterrosa/common/consts.go index bd3d4565..6c995335 100644 --- a/provider/clusterrosa/common/consts.go +++ b/provider/clusterrosa/common/consts.go @@ -25,7 +25,7 @@ const ( MaxClusterDomainPrefixLength = 15 ) -var UserArnRE = regexp.MustCompile("^(arn:(?:aws|aws-us-gov|aws-cn):(?:iam|sts)::\\d{12}(?:|:(?:root|user|assumed-role)(?:\\/?.+\\/?)?)(?:\\/[0-9A-Za-z\\+\\.@_,-]{1,64}))$") +var UserArnRE = regexp.MustCompile("^(arn:(?:aws|aws-us-gov|aws-cn):(?:iam|sts)::\\d{12}(?:|:(?:root|user|assumed-role|role)(?:\\/?.+\\/?)?)(?:\\/[0-9A-Za-z\\+\\.@_,-]{1,64}))$") var OCMProperties = map[string]string{ PropertyRosaTfVersion: build.Version,