db_option_group submodule creates an aws_db_option_group that can enable additional features for supported RDS engines such as MySQL, Oracle, Microsoft SQL Server, and MariaDB.
Source
Usage
Use this submodule standalone to manage an option group independently of the DB instance lifecycle:Input variables
bool
Whether to create the option group resource.Default:
truestring
The name of the option group. When
use_name_prefix is true, this is used as a prefix.Default: ""bool
Determines whether to use
name as-is or create a unique name beginning with name as the prefix.Default: truestring
The description of the option group.Default:
nullstring
The name of the engine the option group should be associated with (e.g.
mysql, oracle-se2, sqlserver-ex, mariadb).Default: nullstring
The major version of the engine the option group should be associated with (e.g.
8.0, 19, 15.00).Default: nulllist(object)
A list of options to enable in the option group.Default:
nullbool
Set to
true to prevent the option group from being deleted at destroy time. The resource is instead just removed from Terraform state. Useful when active DB instances are associated with this option group.Default: nullobject
Maximum timeout for deletion of the
aws_db_option_group resource.Default: nullstring
Region where the option group will be managed. Defaults to the region set in the provider configuration.Default:
nullmap(string)
A mapping of tags to assign to the option group resource.Default:
{}Outputs
string
The name (ID) of the DB option group. Pass this to the
option_group_name input of a DB instance.string
The ARN of the DB option group.