Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shanice-skylight committed Oct 18, 2024
1 parent 683728c commit 993d6ec
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion terraform/aws/implementation/modules/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ resource "helm_release" "building_blocks" {
}

set {
name = "image.tag"
name = "image.tag"
# value = data.external.latest_phdi_release.result.tagName
value = "v1.6.7"
}
Expand Down
32 changes: 16 additions & 16 deletions terraform/aws/implementation/modules/rds/main.tf
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Define the RDS instance for Postgres
resource "aws_db_instance" "tefca-viewer-db" {
db_name = var.tefca_db_name
identifier = var.db_identifier
instance_class = "db.t3.micro"
allocated_storage = 5
engine = var.engine_type
engine_version = var.engine_version
db_name = var.tefca_db_name
identifier = var.db_identifier
instance_class = "db.t3.micro"
allocated_storage = 5
engine = var.engine_type
engine_version = var.engine_version
enabled_cloudwatch_logs_exports = ["postgresql"]
username = var.db_username
password = random_password.setup_rds_password.result
db_subnet_group_name = aws_db_subnet_group.this.name
vpc_security_group_ids = [aws_security_group.ds_sg.id]
parameter_group_name = aws_db_parameter_group.this.name
publicly_accessible = false
skip_final_snapshot = true
final_snapshot_identifier = true
username = var.db_username
password = random_password.setup_rds_password.result
db_subnet_group_name = aws_db_subnet_group.this.name
vpc_security_group_ids = [aws_security_group.ds_sg.id]
parameter_group_name = aws_db_parameter_group.this.name
publicly_accessible = false
skip_final_snapshot = true
final_snapshot_identifier = true
}

# Create a parameter group to configure Postgres RDS parameters
Expand All @@ -26,11 +26,11 @@ resource "aws_db_parameter_group" "this" {
name = "log_connections"
value = "1"
}
parameter {
parameter {
name = "rds.force_ssl"
value = "0"
}


lifecycle {
create_before_destroy = true
Expand Down
4 changes: 2 additions & 2 deletions terraform/aws/implementation/modules/rds/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ output "tefca_jdbc_db_url" {
}

output "tefca_jdbc_db_user" {
value = aws_db_instance.tefca-viewer-db.username
value = aws_db_instance.tefca-viewer-db.username
sensitive = true
}

output "tefca_jdbc_db_password" {
value = aws_db_instance.tefca-viewer-db.password
value = aws_db_instance.tefca-viewer-db.password
sensitive = true
}

0 comments on commit 993d6ec

Please sign in to comment.