Skip to content

Commit

Permalink
Merge pull request #25 from muram/muram-patch/fix-typo
Browse files Browse the repository at this point in the history
Add missing param LogArchiveAccount to ct-al-master-stackset
  • Loading branch information
ptrakhtman authored Feb 23, 2022
2 parents b74cf3c + 785b0e6 commit d043f38
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions template/ct-al-master-stackset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ Parameters:
AllowedPattern: "^[0-9]{12}$"
MinLength: 12
MaxLength: 12
LogArchiveAccount:
Type: String
Description: Designated AWS Control Tower Log Archive account
AllowedPattern: '^[0-9]{12}$'
MinLength: 12
MaxLength: 12
AlertLogicCustomerId:
Type: String
Description: AlertLogic Customer Id
Expand Down Expand Up @@ -113,6 +119,22 @@ Conditions:
- !Ref SecurityAccount
- !Ref AWS::AccountId

SecurityAccountOriginRegion: !And
- !Equals
- !Ref SecurityAccount
- !Ref AWS::AccountId
- !Equals
- !Ref MasterRegion
- !Ref AWS::Region

LogArchiveOriginRegion: !And
- !Equals
- !Ref LogArchiveAccount
- !Ref AWS::AccountId
- !Equals
- !Ref MasterRegion
- !Ref AWS::Region

Resources:
ALRoleFromCFT:
Condition: OriginRegion
Expand Down

0 comments on commit d043f38

Please sign in to comment.