Skip to content

Commit fc4e1a0

Browse files
authored
Update ct_configrecorder_override_consumer.py reverting service role changes.
1 parent b1703ce commit fc4e1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ct_configrecorder_override_consumer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def assume_role(account_id, role='AWSControlTowerExecution'):
8484

8585
# ControlTower created configuration recorder with name "aws-controltower-BaselineConfigRecorder" and we will update just that
8686
try:
87-
role_arn = 'arn:aws:iam::' + account_id + ':role/aws-controltower-ConfigRecorderRole'
87+
role_arn = 'arn:aws:iam::' + account_id + ':role/aws-service-role/config.amazonaws.com/AWSServiceRoleForConfig'
8888

8989
CONFIG_RECORDER_DAILY_RESOURCE_STRING = os.getenv('CONFIG_RECORDER_OVERRIDE_DAILY_RESOURCE_LIST')
9090
CONFIG_RECORDER_OVERRIDE_DAILY_RESOURCE_LIST = CONFIG_RECORDER_DAILY_RESOURCE_STRING.split(

0 commit comments

Comments
 (0)