Difference between revisions of "RDS template.cf"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
[[Resources:]] | [[Resources:]] | ||
MyDB: | MyDB: | ||
− | Type: AWS::RDS::DBInstance | + | Type: [[AWS::RDS::DBInstance]] |
Properties: | Properties: | ||
DBSecurityGroups: | DBSecurityGroups: |
Revision as of 10:26, 29 September 2021
AWSTemplateFormatVersion: '2010-09-09' Metadata: License: Apache-2.0 Description: 'AWS CloudFormation Sample Template RDS_Snapshot_On_Delete: Sample template showing how to create an RDS DBInstance that is snapshotted on stack deletion. **WARNING** This template creates an Amazon RDS database instance. When the stack is deleted a database snapshot will be left in your account. You will be billed for the AWS resources used if you create a stack from this template.' Resources: MyDB: Type: AWS::RDS::DBInstance Properties: DBSecurityGroups: - Ref: MyDbSecurityByEC2SecurityGroup - Ref: MyDbSecurityByCIDRIPGroup AllocatedStorage: '5' DBInstanceClass: db.t2.micro Engine: PostgreSQL MasterUsername: MyName MasterUserPassword: MyPassword DeletionPolicy: Delete
See also
- AWS CloudFormation,
AWS::CloudFormation
AWS CloudFormation Designer, Drift detection, AWS Cloud Development Kit (CDK),aws cloudformation
,ServicesStack:
, AWS CloudFormation Linter (cfn-lint
), Former2, CloudCraft, Change sets, AWS CloudFormation Public Registry, CloudFormation snippets, CloudFormation templates, StackSets,Outputs:
,Type:
,Fn::Sub
,!Ref
, CloudFormation Parameters, AWS CloudFormation Templates, CloudFormation functions
Advertising: