diff --git a/infra/document-db.tf b/infra/document-db.tf index e543b1c..c6cc84c 100644 --- a/infra/document-db.tf +++ b/infra/document-db.tf @@ -54,6 +54,6 @@ resource "aws_docdb_cluster_instance" "docdb_instances" { count = 1 identifier = "docdb-instance-${count.index}" cluster_identifier = aws_docdb_cluster.docdb.id - instance_class = "db.t4g.medium" + instance_class = "db.t3.medium" apply_immediately = true } \ No newline at end of file diff --git a/infra/rds.tf b/infra/rds.tf index 92c29e5..d7aa9a0 100644 --- a/infra/rds.tf +++ b/infra/rds.tf @@ -51,6 +51,7 @@ resource "aws_db_instance" "rds_clients" { publicly_accessible = true skip_final_snapshot = true db_subnet_group_name = aws_db_subnet_group.rds.name + network_type = "IPV4" } resource "aws_db_instance" "rds_order" { @@ -66,6 +67,7 @@ resource "aws_db_instance" "rds_order" { publicly_accessible = true skip_final_snapshot = true db_subnet_group_name = aws_db_subnet_group.rds.name + network_type = "IPV4" } resource "aws_db_instance" "rds_production" { @@ -81,4 +83,5 @@ resource "aws_db_instance" "rds_production" { publicly_accessible = true skip_final_snapshot = true db_subnet_group_name = aws_db_subnet_group.rds.name + network_type = "IPV4" }