We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1703ce commit fc4e1a0Copy full SHA for fc4e1a0
ct_configrecorder_override_consumer.py
@@ -84,7 +84,7 @@ def assume_role(account_id, role='AWSControlTowerExecution'):
84
85
# ControlTower created configuration recorder with name "aws-controltower-BaselineConfigRecorder" and we will update just that
86
try:
87
- role_arn = 'arn:aws:iam::' + account_id + ':role/aws-controltower-ConfigRecorderRole'
+ role_arn = 'arn:aws:iam::' + account_id + ':role/aws-service-role/config.amazonaws.com/AWSServiceRoleForConfig'
88
89
CONFIG_RECORDER_DAILY_RESOURCE_STRING = os.getenv('CONFIG_RECORDER_OVERRIDE_DAILY_RESOURCE_LIST')
90
CONFIG_RECORDER_OVERRIDE_DAILY_RESOURCE_LIST = CONFIG_RECORDER_DAILY_RESOURCE_STRING.split(
0 commit comments