Skip to content

Commit 50910a1

Browse files
fix deploy role condition (#156)
1 parent 7e3874b commit 50910a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/log_ingestion.s3.cft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ Conditions:
114114
]
115115

116116
DeployRole: !And [
117-
!Equals [ !Ref BucketAccountId, !Ref "AWS::AccountId" ] ,
118-
!Equals [ DeployStackSet, "false" ]
117+
!Equals [ !Ref BucketAccountId, !Ref "AWS::AccountId" ],
118+
!Not [ !Condition DeployStackSet ]
119119
]
120120

121121
NeedKMSPolicy: !And [

0 commit comments

Comments
 (0)