Skip to content

Commit

Permalink
Novos bancos de dados
Browse files Browse the repository at this point in the history
  • Loading branch information
jonilsonds9 committed Jan 29, 2024
1 parent 405600f commit 93b4a67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion infra/document-db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
3 changes: 3 additions & 0 deletions infra/rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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" {
Expand All @@ -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"
}

0 comments on commit 93b4a67

Please sign in to comment.