Skip to content

Commit bcdb59f

Browse files
committed
fixup! fixup! Fix RDS Data API credential lookup
1 parent 2aeb06d commit bcdb59f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

infra/modules/rds/parameters.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ resource "aws_ssm_parameter" "database_password" {
3232
}
3333

3434
resource "aws_secretsmanager_secret" "data_api_credentials" {
35+
#checkov:skip=CKV_AWS_149:The secret is already using the default key, which is sufficient
3536
for_each = var.apps_list
3637

3738
name = "data-api/${var.env_name}/${each.key}/rds-credentials"
@@ -51,6 +52,7 @@ resource "aws_secretsmanager_secret_version" "data_api_credentials" {
5152

5253
resource "aws_ssm_parameter" "database_url" {
5354
#checkov:skip=CKV_AWS_337:The parameter is already using the default key
55+
#checkov:skip=CKV2_FORMS_AWS_7:Database URLs should update when passwords or endpoints change
5456
for_each = var.apps_list
5557

5658
name = "/${each.key}-${var.env_name}/database/url"

0 commit comments

Comments
 (0)