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

update database pocs #413

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/aws/rds-mysql-db/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resource "aws_db_instance" "rds_db" {
db_name = local.db_name
engine = "mysql"
engine_version = "8.0"
instance_class = "db.m6gd.large"
instance_class = "db.m5.large"
username = local.db_username
password = local.db_password
option_group_name = aws_db_option_group.impv_rds_db_og.name
Expand Down
10 changes: 5 additions & 5 deletions modules/aws/rds-postgres-db/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ resource "aws_db_subnet_group" "rds_db_sg" {
tags = var.tags
}

resource "aws_db_parameter_group" "postgres15_audit" {
name = "${local.db_identifier}-postgres15-audit-pg"
family = "postgres15"
resource "aws_db_parameter_group" "postgres14_audit" {
name = "${local.db_identifier}-postgres14-audit-pg"
family = "postgres14"
description = "Custom parameter group for Postgres"

parameter {
Expand Down Expand Up @@ -76,11 +76,11 @@ resource "aws_db_instance" "rds_db" {
allocated_storage = 10
db_name = local.db_name
engine = "postgres"
engine_version = "15.4"
engine_version = "14.12"
instance_class = "db.m5.large"
username = local.db_username
password = local.db_password
parameter_group_name = aws_db_parameter_group.postgres15_audit.name
parameter_group_name = aws_db_parameter_group.postgres14_audit.name
skip_final_snapshot = true
vpc_security_group_ids = [aws_security_group.rds_postgres_access.id]
db_subnet_group_name = aws_db_subnet_group.rds_db_sg.name
Expand Down
Loading