Skip to content

Commit 7d05c8d

Browse files
authored
Fix codebuild Role ID (#25)
1 parent f50e4ad commit 7d05c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ module "build" {
196196

197197
resource "aws_iam_role_policy_attachment" "codebuild_s3" {
198198
count = "${local.enabled ? 1 : 0}"
199-
role = "${module.build.role_arn}"
199+
role = "${module.build.role_id}"
200200
policy_arn = "${aws_iam_policy.s3.arn}"
201201
}
202202

0 commit comments

Comments
 (0)