AWS Amazon RDS Option Group

This page shows how to write Terraform and CloudFormation for Amazon RDS Option Group and write them securely.

aws_db_option_group (Terraform)

The Option Group in Amazon RDS can be configured in Terraform with the resource name aws_db_option_group. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

resource "aws_db_option_group" "example" {
  name                 = "example"
  engine_name          = "mysql"
  major_engine_version = "5.7"
  option {
resource "aws_db_option_group" "rdsoptiongrp" {
  name                     = "option-group-rdsmssql"
  option_group_description = "rds Option Group"
  engine_name              = "sqlserver-ex"
  major_engine_version     = "14.00"


Explanation in Terraform Registry

Provides an RDS DB option group resource. Documentation of the available options for various RDS engines can be found at:

AWS::RDS::OptionGroup (CloudFormation)

The OptionGroup in RDS can be configured in CloudFormation with the resource name AWS::RDS::OptionGroup. The following sections describe how to use the resource and its parameters.


Explanation in CloudFormation Registry

The AWS::RDS::OptionGroup resource creates or updates an option group, to enable and configure features that are specific to a particular DB engine.

Frequently asked questions

What is AWS Amazon RDS Option Group?

AWS Amazon RDS Option Group is a resource for Amazon RDS of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Amazon RDS Option Group?

For Terraform, the manbow1206/Big_terraform_file and ramesh8800/terraform_scripts_real source code examples are useful. See the Terraform Example section for further details.