From 6e24c2b87b9dfea9a7ae4a171afcec6b0f4f604d Mon Sep 17 00:00:00 2001 From: Priit Pihus Date: Sat, 18 Oct 2025 01:01:09 +0300 Subject: [PATCH] fix(consumer): Deleting the stack was not reverting recordingMode to the original state. --- ct_configrecorder_override_consumer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ct_configrecorder_override_consumer.py b/ct_configrecorder_override_consumer.py index 46308e6..9ba0575 100644 --- a/ct_configrecorder_override_consumer.py +++ b/ct_configrecorder_override_consumer.py @@ -136,7 +136,8 @@ def assume_role(account_id, role='AWSControlTowerExecution'): 'recordingGroup': { 'allSupported': True, 'includeGlobalResourceTypes': home_region - } + }, + 'recordingMode': {'recordingFrequency': 'CONTINUOUS'}, }) logging.info(f'Response for put_configuration_recorder :{response} ')