Skip to content

Commit 603ee6e

Browse files
33 - Add trigger to update conformance pack
1 parent 50baed4 commit 603ee6e

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

arch/templates/ConformancePack.yaml

+12-9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
##################################################################################
66
Parameters:
77
# Common
8+
UpdateTriggerVersion:
9+
Type: String
10+
Default: "v1"
811
GCLambdaExecutionRoleName:
912
Type: String
1013
GCLambdaExecutionRoleName2:
@@ -148,7 +151,7 @@ Resources:
148151
SourceDetails:
149152
- EventSource: "aws.config"
150153
MessageType: "ScheduledNotification"
151-
154+
152155
GC01CheckRootMfaConfigRule:
153156
Type: "AWS::Config::ConfigRule"
154157
Properties:
@@ -315,7 +318,7 @@ Resources:
315318
SourceDetails:
316319
- EventSource: "aws.config"
317320
MessageType: "ScheduledNotification"
318-
321+
319322
GC01CheckDedicatedAdminAccount:
320323
Type: "AWS::Config::ConfigRule"
321324
Properties:
@@ -1000,10 +1003,10 @@ Resources:
10001003
Description: Verify cryptographic algorithms and protocols are configured by the user in accordance with ITSP.40.111 and ITSP.40.062
10011004
InputParameters:
10021005
S3CasCurrentlyInUsePath:
1003-
Fn::If:
1004-
- s3CasCurrentlyInUsePath
1005-
- Ref: S3CasCurrentlyInUsePath
1006-
- Ref: AWS::NoValue
1006+
Fn::If:
1007+
- s3CasCurrentlyInUsePath
1008+
- Ref: S3CasCurrentlyInUsePath
1009+
- Ref: AWS::NoValue
10071010
ExecutionRoleName:
10081011
Fn::If:
10091012
- GCLambdaExecutionRoleName2
@@ -1242,7 +1245,7 @@ Resources:
12421245
SourceDetails:
12431246
- EventSource: "aws.config"
12441247
MessageType: "ScheduledNotification"
1245-
1248+
12461249
GC09CheckNonPublicStorageAccountsConfigRule:
12471250
Type: "AWS::Config::ConfigRule"
12481251
Properties:
@@ -1857,8 +1860,8 @@ Conditions:
18571860
s3AdminAccountListPath:
18581861
Fn::Not:
18591862
- Fn::Equals:
1860-
- ""
1861-
- Ref: S3AdminAccountListPath
1863+
- ""
1864+
- Ref: S3AdminAccountListPath
18621865
s3RoleAssignmentReviewDocumentPath:
18631866
Fn::Not:
18641867
- Fn::Equals:

arch/templates/main.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,8 @@ Resources:
14881488
Type: AWS::Config::OrganizationConformancePack
14891489
Properties:
14901490
ConformancePackInputParameters:
1491+
- ParameterName: UpdateTriggerVersion
1492+
ParameterValue: "v3"
14911493
- ParameterName: GCLambdaExecutionRoleName
14921494
ParameterValue: !Sub "${AccelRolePrefix}GCLambdaExecutionRole"
14931495
- ParameterName: GCLambdaExecutionRoleName2

0 commit comments

Comments
 (0)