From 037cb5c3bf06d43b28549cc9726471c67488043c Mon Sep 17 00:00:00 2001 From: Alex Pickering Date: Tue, 10 Dec 2024 14:42:44 -0800 Subject: [PATCH] fix indent Signed-off-by: Alex Pickering --- cf/rds-agent.yaml | 88 +++++++++++++++++++++++------------------------ 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/cf/rds-agent.yaml b/cf/rds-agent.yaml index 0e0b7af321..ef02654491 100644 --- a/cf/rds-agent.yaml +++ b/cf/rds-agent.yaml @@ -57,53 +57,53 @@ Resources: - !Sub "arn:aws:rds:${AWS::Region}:${AWS::AccountId}:cluster:aurora-cluster-${Environment}" RDSLaunchTemplate: - Type: AWS::EC2::LaunchTemplate - Properties: - LaunchTemplateName: !Sub "rds-${Environment}-ssm-launch-template" - LaunchTemplateData: - InstanceType: t2.nano - IamInstanceProfile: !Ref SSMProfile - MetadataOptions: - HttpTokens: required - HttpEndpoint: enabled - BlockDeviceMappings: - - DeviceName: "/dev/xvda" - Ebs: - VolumeSize: 8 - Encrypted: true - SecurityGroupIds: - - Fn::ImportValue: !Sub "biomage-${Environment}-rds::RDSAgentSecurityGroupId" - #UserData Runs when ec2 is being deployed - UserData: - Fn::Base64: - ' - Content-Type: multipart/mixed; boundary="//" - MIME-Version: 1.0 + Type: AWS::EC2::LaunchTemplate + Properties: + LaunchTemplateName: !Sub "rds-${Environment}-ssm-launch-template" + LaunchTemplateData: + InstanceType: t2.nano + IamInstanceProfile: !Ref SSMProfile + MetadataOptions: + HttpTokens: required + HttpEndpoint: enabled + BlockDeviceMappings: + - DeviceName: "/dev/xvda" + Ebs: + VolumeSize: 8 + Encrypted: true + SecurityGroupIds: + - Fn::ImportValue: !Sub "biomage-${Environment}-rds::RDSAgentSecurityGroupId" + #UserData Runs when ec2 is being deployed + UserData: + Fn::Base64: + ' + Content-Type: multipart/mixed; boundary="//" + MIME-Version: 1.0 - --// - Content-Type: text/cloud-config; charset="us-ascii" - MIME-Version: 1.0 - Content-Transfer-Encoding: 7bit - Content-Disposition: attachment; filename="cloud-config.txt" + --// + Content-Type: text/cloud-config; charset="us-ascii" + MIME-Version: 1.0 + Content-Transfer-Encoding: 7bit + Content-Disposition: attachment; filename="cloud-config.txt" - #cloud-config - cloud_final_modules: - - [scripts-user, always] + #cloud-config + cloud_final_modules: + - [scripts-user, always] - --// - Content-Type: text/x-shellscript; charset="us-ascii" - MIME-Version: 1.0 - Content-Transfer-Encoding: 7bit - Content-Disposition: attachment; filename="userdata.txt" - - #!/bin/bash -e - sudo yum -y install postgresql - ' - TagSpecifications: - - ResourceType: instance - Tags: - - Key: "Name" - Value: !Sub "rds-${Environment}-ssm-agent" + --// + Content-Type: text/x-shellscript; charset="us-ascii" + MIME-Version: 1.0 + Content-Transfer-Encoding: 7bit + Content-Disposition: attachment; filename="userdata.txt" + + #!/bin/bash -e + sudo yum -y install postgresql + ' + TagSpecifications: + - ResourceType: instance + Tags: + - Key: "Name" + Value: !Sub "rds-${Environment}-ssm-agent" RDSAgent: Type: AWS::EC2::Instance