Skip to content

Commit

Permalink
Secret rotation fixes (#548)
Browse files Browse the repository at this point in the history
Make rotation schedule depend on lambda permission
  • Loading branch information
hdavey-gds authored Feb 8, 2024
1 parent 78d540a commit 01f474d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iac/main/resources/redshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ RedshiftSecret:

RedshiftSecretRotationSchedule:
Type: AWS::SecretsManager::RotationSchedule
DependsOn: RedshiftSecretRotationLambdaPermission
Properties:
RotationLambdaARN: !GetAtt RedshiftSecretRotationLambda.Arn
RotationRules:
Expand Down

0 comments on commit 01f474d

Please sign in to comment.