Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair.curtis authored and roncitrus committed Dec 8, 2023
1 parent 0653d5b commit be57f08
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion terraform/environments/cdpt-chaps/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ resource "aws_db_instance" "database" {
identifier = local.app_data.accounts[local.environment].db_instance_identifier
username = local.app_data.accounts[local.environment].db_user
iam_database_authentication_enabled = true
iam_roles = ["arn:aws:iam::613903586696:role/RDS-S3-CrossAccountAccess"]
}

resource "aws_db_instance_role_association" "rds_s3_role_association" {
db_instance_identifier = aws_db_instance.database.identifier
feature_name = "S3_INTEGRATION"
role_arn = "arn:aws:iam::613903586696:role/RDS-S3-CrossAccountAccess"
}

resource "aws_security_group" "db" {
Expand Down

0 comments on commit be57f08

Please sign in to comment.