Skip to content

Commit

Permalink
Fixes pipeline label for s3. (GMADLA#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
lezavala authored Jun 28, 2019
1 parent acf9562 commit 4b054b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "aws_s3_bucket" "default" {
lifecycle_rule {
id = "code"
enabled = "${var.pipeline_bucket_lifecycle_enabled}"
prefix = "${format("%.20s/code/", module.codebuild_label.id)}"
prefix = "${format("%.20s/code/", module.codepipeline_label.id)}"

abort_incomplete_multipart_upload_days = "7"
noncurrent_version_expiration {
Expand All @@ -37,7 +37,7 @@ resource "aws_s3_bucket" "default" {
lifecycle_rule {
id = "task"
enabled = "${var.pipeline_bucket_lifecycle_enabled}"
prefix = "${format("%.20s/task/", module.codebuild_label.id)}"
prefix = "${format("%.20s/task/", module.codepipeline_label.id)}"

abort_incomplete_multipart_upload_days = "7"
noncurrent_version_expiration {
Expand Down

0 comments on commit 4b054b0

Please sign in to comment.