This template creates a Redshift cluster and a secret with credentials. The secret is configured to rotate on the first Sunday of every month between 4:00 AM and 6:00 AM UTC. The rotation is performed by a Lambda function.

TestVPC
AWS::EC2::VPC


TestSubnet01
AWS::EC2::Subnet


TestSubnet02
AWS::EC2::Subnet


SecretsManagerVPCEndpoint
AWS::EC2::VPCEndpoint


SecurityGroupIds

SubnetIds

MyRedshiftSecret
AWS::SecretsManager::Secret


GenerateSecretString
Tags

MyRedshiftCluster
AWS::Redshift::Cluster


VpcSecurityGroupIds

ResdshiftSubnetGroup
AWS::Redshift::ClusterSubnetGroup


SubnetIds

SecretRedshiftAttachment
AWS::SecretsManager::SecretTargetAttachment


MySecretRotationSchedule
AWS::SecretsManager::RotationSchedule


HostedRotationLambda
RotationRules

CloudFormation Template

Share Template