Do you have an example of setting up a custom parameter group for postgres?
I'm using [the rds module](https://docs.gruntwork.io/reference/services/data-storage/amazon-rds) in the service catalog and want to setup custom parameters for the postgres instance. How should I do that? --- <ins datetime="2022-05-06T13:58:56Z"> <p><a href="https://support.gruntwork.io/hc/requests/108563">Tracked in ticket #108563</a></p> </ins>
You can pass in the custom parameters using the `custom_parameter_group` input variable. Here is an example: ``` inputs = { engine_version = "14.2" custom_parameter_group = { "name" = "postgres14-custom-terraform", "family" = "postgres14", "parameters" = [ { "name" = "wal_sender_timeout", "value" = "0", "apply_method" = "immediate" }, { "name" = "rds.logical_replication", "value" = "1", "apply_method" = "pending-reboot" }, { "name" = "shared_preload_libraries", "value" = "pg_stat_statements,pg_cron", "apply_method" = "pending-reboot" }, ] } } ``` Refer to the links in the [terraform resource docs for aws_db_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) for information on the list of available parameters for each RDS database engine.