Skip to content

Commit

Permalink
default secrets manager dbcreated to true
Browse files Browse the repository at this point in the history
  • Loading branch information
hadams95 authored Mar 22, 2024
1 parent 60dd1c1 commit 4b9c063
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tf_files/aws/commons/kube.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ resource "aws_secretsmanager_secret_version" "db_credentials_fence" {
"host": "${aws_db_instance.db_fence.address}",
"password": "${aws_db_instance.db_fence.password}",
"port": "${aws_db_instance.db_fence.port}",
"username": "${aws_db_instance.db_fence.username}"
"username": "${aws_db_instance.db_fence.username}",
"dbcreated": "true"
}
EOF
}
Expand Down Expand Up @@ -91,7 +92,8 @@ resource "aws_secretsmanager_secret_version" "db_credentials_arborist" {
"host": "${aws_db_instance.db_fence.address}",
"password": "${aws_db_instance.db_fence.password}",
"port": "${aws_db_instance.db_fence.port}",
"username": "${aws_db_instance.db_fence.username}"
"username": "${aws_db_instance.db_fence.username}",
"dbcreated": "true"
}
EOF
}
Expand Down Expand Up @@ -155,7 +157,8 @@ resource "aws_secretsmanager_secret_version" "db_credentials_gdcapi" {
"host": "${aws_db_instance.db_gdcapi.address}",
"password": "${aws_db_instance.db_gdcapi.password}",
"port": "${aws_db_instance.db_gdcapi.port}",
"username": "${aws_db_instance.db_gdcapi.username}"
"username": "${aws_db_instance.db_gdcapi.username}",
"dbcreated": "true"
}
EOF
}
Expand Down Expand Up @@ -184,7 +187,8 @@ resource "aws_secretsmanager_secret_version" "db_credentials_sheepdog" {
"host": "${aws_db_instance.db_gdcapi.address}",
"password": "${aws_db_instance.db_gdcapi.password}",
"port": "${aws_db_instance.db_gdcapi.port}",
"username": "${aws_db_instance.db_gdcapi.username}"
"username": "${aws_db_instance.db_gdcapi.username}",
"dbcreated": "true"
}
EOF
}
Expand Down Expand Up @@ -213,7 +217,8 @@ resource "aws_secretsmanager_secret_version" "db_credentials_peregrine" {
"host": "${aws_db_instance.db_gdcapi.address}",
"password": "${aws_db_instance.db_gdcapi.password}",
"port": "${aws_db_instance.db_gdcapi.port}",
"username": "${aws_db_instance.db_gdcapi.username}"
"username": "${aws_db_instance.db_gdcapi.username}",
"dbcreated": "true"
}
EOF
}
Expand Down Expand Up @@ -279,7 +284,8 @@ resource "aws_secretsmanager_secret_version" "db_credentials_indexd" {
"host": "${aws_db_instance.db_indexd.address}",
"password": "${aws_db_instance.db_indexd.password}",
"port": "${aws_db_instance.db_indexd.port}",
"username": "${aws_db_instance.db_indexd.username}"
"username": "${aws_db_instance.db_indexd.username}",
"dbcreated": "true"
}
EOF
}
Expand Down

0 comments on commit 4b9c063

Please sign in to comment.