Skip to content

Commit 0cbf9bb

Browse files
authored
Add privileged_mode attribute to aws_codebuild_project (#6)
* Add `privileged_mode` attribute to `aws_codebuild_project` * terraform fmt
1 parent ae5e733 commit 0cbf9bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ data "aws_iam_policy_document" "permissions" {
6262
}
6363

6464
resource "aws_iam_role_policy_attachment" "default" {
65-
name = "${module.label.id}"
6665
policy_arn = "${aws_iam_policy.default.arn}"
6766
role = "${aws_iam_role.default.id}"
6867
}
@@ -76,9 +75,10 @@ resource "aws_codebuild_project" "default" {
7675
}
7776

7877
environment {
79-
compute_type = "${var.instance_size}"
80-
image = "${var.image}"
81-
type = "LINUX_CONTAINER"
78+
compute_type = "${var.instance_size}"
79+
image = "${var.image}"
80+
type = "LINUX_CONTAINER"
81+
privileged_mode = true
8282
}
8383

8484
source {

0 commit comments

Comments
 (0)