Variables
The parameters object
Each entry in parameters accepts the following fields, as defined in variables.tf:
apply_method is omitted, AWS uses the default for that parameter (usually immediate for dynamic parameters and pending-reboot for static ones).
Usage patterns
- Create new
- Use existing
- AWS default
The module creates a parameter group by default. Provide To use an exact name instead of a generated prefix:To use a prefix (the default):AWS will create a parameter group named something like
family and parameters to configure it:prod-instance-mysql-8.0-20240101120000000000000001.PostgreSQL example
For PostgreSQL, the family format ispostgres{major_version}:
Blue/green deployment parameter example
Some parameters requireapply_method = "pending-reboot". For example, enabling logical replication in PostgreSQL for blue/green deployments: