From 01f474de80ed05862be029331b5cd7f635cad412 Mon Sep 17 00:00:00 2001 From: hdavey-gds <129174608+hdavey-gds@users.noreply.github.com> Date: Thu, 8 Feb 2024 10:46:47 +0000 Subject: [PATCH] Secret rotation fixes (#548) Make rotation schedule depend on lambda permission --- iac/main/resources/redshift.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/iac/main/resources/redshift.yml b/iac/main/resources/redshift.yml index 92c233ea1..3c21953ad 100644 --- a/iac/main/resources/redshift.yml +++ b/iac/main/resources/redshift.yml @@ -62,6 +62,7 @@ RedshiftSecret: RedshiftSecretRotationSchedule: Type: AWS::SecretsManager::RotationSchedule + DependsOn: RedshiftSecretRotationLambdaPermission Properties: RotationLambdaARN: !GetAtt RedshiftSecretRotationLambda.Arn RotationRules: