db_parameter_group submodule creates an aws_db_parameter_group for a specific engine family. Parameter groups let you manage database engine settings across one or more DB instances.
Source
Usage
Use this submodule standalone when you want to share a parameter group across multiple DB instances or manage parameters outside the lifecycle of a single DB instance:Input variables
bool
Whether to create the parameter group resource.Default:
truestring
The name of the DB parameter 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 DB parameter group.Default:
nullstring
The engine family for the parameter group (e.g.
mysql8.0, postgres15, oracle-se2-19). This must match the engine version of the DB instance.Default: nulllist(object)
A list of DB parameters to apply to the parameter group.Default:
nullbool
Set to
true to prevent the parameter group from being deleted at destroy time. The resource is instead just removed from Terraform state.Default: nullstring
Region where the parameter group will be managed. Defaults to the region set in the provider configuration.Default:
nullmap(string)
A mapping of tags to assign to the DB parameter group resource.Default:
{}Outputs
string
The name (ID) of the DB parameter group. Pass this to the
parameter_group_name input of a DB instance.string
The ARN of the DB parameter group.