Untitled
unknown
plain_text
a year ago
545 B
8
Indexable
Parameters: MultiAZ: Type: String Default: "true" AllowedValues: - "true" - "false" Description: "Enable Multi-AZ deployment for the RDS instance" Resources: MyVpc: Type: AWS::EC2::VPC Properties: # Your VPC configuration MyRdsInstance: Type: AWS::RDS::DBInstance Properties: Engine: mysql DBInstanceClass: db.t2.micro MultiAZ: !If [EnableMultiAZ, "true", "false"] # Other RDS instance configuration Conditions: EnableMultiAZ: !Equals [ !Ref MultiAZ, "true" ]
Editor is loading...
Leave a Comment