I am trying to create a multi-az instance of AWS RDS SQLServer.
terraform apply resulted in this error.
* aws_db_instance.qa_sql_db: Error creating DB Instance: InvalidParameterCombination: To configure Multi-AZ for SQL Serv
er DB Instances please apply or remove the "Mirroring" option using Option Groups.
status code: 400, request id: 695aa2aa-a3af-11e5-9949-7da928f7789c
AWS documentation states that I need to create Options Group and specify mirroring option.
They give example of using option group:
rds-create-option-group MirroringOG --engine-name sqlserver-se --major-engine-version 10.50 --description "SQLServer Mirroring"
rds-add-option-to-option-group MirroringOG --option-name Mirroring
rds-modify-db-instance cust_instance_id -og MirroringOG --apply-immediately
I have looked at the Terraform aws rds documentation and I don't see options group. The closest thing I see is db_parameters_group
I am not sure it is same as options group.
Has anyone done this before? Can you share an example of setting up mirroring necessary to provision a multi-az SQL Server?
Thanks