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
Whether to create the parameter group resource.Default:
trueThe name of the DB parameter group. When
use_name_prefix is true, this is used as a prefix.Default: ""Determines whether to use
name as-is or create a unique name beginning with name as the prefix.Default: trueThe description of the DB parameter group.Default:
nullThe 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: nullA list of DB parameters to apply to the parameter group.Default:
nullSet to
true to prevent the parameter group from being deleted at destroy time. The resource is instead just removed from Terraform state.Default: nullRegion where the parameter group will be managed. Defaults to the region set in the provider configuration.Default:
nullA mapping of tags to assign to the DB parameter group resource.Default:
{}Outputs
The name (ID) of the DB parameter group. Pass this to the
parameter_group_name input of a DB instance.The ARN of the DB parameter group.