Skip to content

Commit

Permalink
Merge pull request #1709 from cloud-gov/credhub-prod-rds-upgrade
Browse files Browse the repository at this point in the history
Credhub prod rds upgrade
  • Loading branch information
rcgottlieb authored Jul 30, 2024
2 parents a02d5e4 + 9000f43 commit c19ce89
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ jobs:
TF_VAR_rds_parameter_group_family_bosh: "postgres15"
TF_VAR_rds_db_engine_version_credhub_staging: "15.5"
TF_VAR_rds_parameter_group_family_credhub_staging: "postgres15"
TF_VAR_rds_db_engine_version_credhub_production: "15.5"
TF_VAR_rds_parameter_group_family_credhub_production: "postgres15"
- *notify-slack

- name: apply-tooling
Expand Down
4 changes: 2 additions & 2 deletions terraform/stacks/tooling/stack.tf
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ module "credhub_production" {
rds_subnet_group = module.stack.rds_subnet_group
rds_security_groups = [module.stack.rds_postgres_security_group]
rds_parameter_group_name = "tooling-credhub-production"
rds_parameter_group_family = var.rds_parameter_group_family
rds_db_engine_version = var.rds_db_engine_version
rds_parameter_group_family = var.rds_parameter_group_family_credhub_production
rds_db_engine_version = var.rds_db_engine_version_credhub_production
rds_apply_immediately = var.rds_apply_immediately
rds_allow_major_version_upgrade = var.rds_allow_major_version_upgrade
rds_instance_type = "db.m5.large"
Expand Down
8 changes: 8 additions & 0 deletions terraform/stacks/tooling/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ variable "rds_db_engine_version_credhub_staging" {
variable "rds_parameter_group_family_credhub_staging" {
default = "postgres15"
}
variable "rds_db_engine_version_credhub_production" {
default = "15.5"
}

variable "rds_parameter_group_family_credhub_production" {
default = "postgres15"
}

variable "remote_state_bucket" {
}

Expand Down

0 comments on commit c19ce89

Please sign in to comment.