Skip to content

Commit 4c4eb77

Browse files
authored
Update template.yaml for adding Global resource in home region
1 parent cebc2f2 commit 4c4eb77

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

template.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ Parameters:
1919
Default: "AWS::AutoScaling::AutoScalingGroup,AWS::AutoScaling::LaunchConfiguration"
2020
Type: String
2121

22+
ConfigRecorderDailyGlobalResourceTypes:
23+
Description: List of Global resource types to be set to a daily cadence in the AWS Control Tower home region
24+
Default: "AWS::IAM::Policy,AWS::IAM::User,AWS::IAM::Role,AWS::IAM::Group"
25+
Type: String
26+
2227
ConfigRecorderDefaultRecordingFrequency:
2328
Description: Default Frequency of recording configuration changes.
2429
Default: CONTINUOUS
@@ -109,6 +114,7 @@ Resources:
109114
Variables:
110115
LOG_LEVEL: INFO
111116
CONFIG_RECORDER_OVERRIDE_DAILY_RESOURCE_LIST: !Ref ConfigRecorderDailyResourceTypes
117+
CONFIG_RECORDER_OVERRIDE_DAILY_GLOBAL_RESOURCE_LIST: !Ref ConfigRecorderDailyGlobalResourceTypes
112118
CONFIG_RECORDER_OVERRIDE_EXCLUDED_RESOURCE_LIST: !Ref ConfigRecorderExcludedResourceTypes
113119
CONFIG_RECORDER_DEFAULT_RECORDING_FREQUENCY: !Ref ConfigRecorderDefaultRecordingFrequency
114120
CONTROL_TOWER_HOME_REGION: !Ref 'AWS::Region'

0 commit comments

Comments
 (0)