Skip to content

Commit

Permalink
Fix codebuild Role ID (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknysh authored May 29, 2019
1 parent f50e4ad commit 7d05c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ module "build" {

resource "aws_iam_role_policy_attachment" "codebuild_s3" {
count = "${local.enabled ? 1 : 0}"
role = "${module.build.role_arn}"
role = "${module.build.role_id}"
policy_arn = "${aws_iam_policy.s3.arn}"
}

Expand Down

0 comments on commit 7d05c8d

Please sign in to comment.