Skip to content

Commit

Permalink
Add privileged_mode attribute to aws_codebuild_project (#6)
Browse files Browse the repository at this point in the history
* Add `privileged_mode` attribute to `aws_codebuild_project`

* terraform fmt
  • Loading branch information
aknysh authored Sep 1, 2017
1 parent ae5e733 commit 0cbf9bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ data "aws_iam_policy_document" "permissions" {
}

resource "aws_iam_role_policy_attachment" "default" {
name = "${module.label.id}"
policy_arn = "${aws_iam_policy.default.arn}"
role = "${aws_iam_role.default.id}"
}
Expand All @@ -76,9 +75,10 @@ resource "aws_codebuild_project" "default" {
}

environment {
compute_type = "${var.instance_size}"
image = "${var.image}"
type = "LINUX_CONTAINER"
compute_type = "${var.instance_size}"
image = "${var.image}"
type = "LINUX_CONTAINER"
privileged_mode = true
}

source {
Expand Down

0 comments on commit 0cbf9bb

Please sign in to comment.