我正在尝试使用云形成创建一个 rds mysql 实例。但是当我创建堆栈时,我正在回滚。在事件下,创建 rds 实例的错误是“遇到不支持的属性描述”。请任何人帮忙。我是云形成的新手。
Resources:
mydbsubgrp:
Type: AWS::RDS::DBSubnetGroup
Properties:
DBSubnetGroupDescription: mydbsubnet
DBSubnetGroupName: mydbsub
SubnetIds:
- subnet-8ba626ec
- subnet-8cb13ea2
Tags:
- Key: "Name"
Value: "wpdb"
myrds:
Type: AWS::RDS::DBInstance
Properties:
Description: rds instace for wordpress
Engine: MySQL
EngineVersion: 5.6.13
AllocatedStorage: 100
BackupRetentionPeriod: 7
DBInstanceIdentifier: mydbinstance
DBName: wordpress
DBInstanceClass: t2.micro
DBSubnetGroupName: !Ref mydbsubgrp
MasterUsername: redhat1234
MasterUserPassword: redhat1234
PubliclyAccessible: true
Outputs:
rdsdetails:
Description: rds endpoint
Value: !GetAtt myrds.Endpoint.Address