Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterize DB parameter group #3149

merged 1 commit into from Aug 26, 2019


Copy link

rbreslow commented Aug 22, 2019


When I tried to update the DataPlane stack in staging, CloudFormation encountered this error:

The following parameters are not defined for the specified group:
auto_explain.log_analyze, idle_in_transaction_session_timeout,
backend_flush_after, checkpoint_flush_after, auto_explain.sample_rate,
bgwriter_flush_after, auto_explain.log_format, auto_explain.log_timing,
force_parallel_mode, auto_explain.log_min_duration, auto_explain.log_triggers,
max_parallel_workers_per_gather, auto_explain.log_buffers,
gin_pending_list_limit, auto_explain.log_nested_statements,
auto_explain.log_verbose, log_replication_commands (Service: AmazonRDS; Status
Code: 400; Error Code: InvalidParameterValue; Request ID:

This is because CloudFormation tries to update the parameter group family from postgres9.4 to postgres9.6, rather than creating a new parameter group based off of postgres9.6.

This PR parameterizes the DB parameter group name so we don't need to finesse CloudFormation.

Connects #3114


  • default.yml is updated to reflect these changes

Testing Instructions

Setup the virtualenv for majorkirby:

python2 -m virtualenv ./env
source ./env/bin/activate
pip install -r requirements.txt

Verify that valid JSON is returned for the DataPlane stack:

./ launch-stacks \
    --aws-profile mmw-stg \
    --mmw-config-path default.yml \
    --mmw-profile staging \
    --data-plane \
@rbreslow rbreslow self-assigned this Aug 22, 2019
@hectcastro hectcastro changed the base branch from develop to release/1.25.0 Aug 23, 2019
@rbreslow rbreslow requested a review from hectcastro Aug 23, 2019
Copy link

hectcastro left a comment


@hectcastro hectcastro merged commit c4c6cb5 into release/1.25.0 Aug 26, 2019
2 checks passed
2 checks passed
default Build finished.
model-my-watershed-pull-requests Build #4088 succeeded in 9 min 49 sec
@hectcastro hectcastro deleted the feature/jrb/parameterize-parameter-group branch Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.