Skip to content

Commit

Permalink
Merge pull request #12 from SevereOverfl0w/master
Browse files Browse the repository at this point in the history
Add a prefix to the codedeploy policy for the S3 bucket
  • Loading branch information
iuriaranda committed Sep 28, 2018
2 parents 7f7ab1e + 47ce83a commit 571e647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aws_s3_bucket" "codedeploy_bucket" {
}

resource "aws_iam_policy" "codedeploy_policy" {
name = "codedeploy_s3bucket_access"
name = "${var.name_prefix}_codedeploy_s3bucket_access"

policy = <<EOF
{
Expand Down

0 comments on commit 571e647

Please sign in to comment.