From 0958540f7d3e61d3c17533c02677c549e60e91c5 Mon Sep 17 00:00:00 2001 From: roncitrus Date: Mon, 11 Dec 2023 16:04:06 +0000 Subject: [PATCH] align names --- terraform/environments/cdpt-chaps/database.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/cdpt-chaps/database.tf b/terraform/environments/cdpt-chaps/database.tf index 7938f5172c8..429721b90fb 100644 --- a/terraform/environments/cdpt-chaps/database.tf +++ b/terraform/environments/cdpt-chaps/database.tf @@ -62,7 +62,7 @@ resource "aws_iam_policy" "rds-s3_access_policy" { } resource "aws_iam_role_policy_attachment" "rds_s3_access_attach" { - role = aws_iam_role.rds_s3_access.name + role = aws_iam_role.rds_s3_access_policy.name policy_arn = aws_iam_policy.rds_s3_access_policy.arn }