Skip to content

Commit

Permalink
fix: disable ecr when disabling codepipeline (#28)
Browse files Browse the repository at this point in the history
fixes #27

Signed-off-by: Pavels Veretennikovs <[email protected]>
  • Loading branch information
rfvermut authored and aknysh committed Apr 18, 2019
1 parent 84f121a commit 91c88be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ module "default_label" {
}

module "ecr" {
source = "git::https://github.com/cloudposse/terraform-aws-ecr.git?ref=tags/0.2.9"
enabled = "${var.codepipeline_enabled}"
source = "git::https://github.com/cloudposse/terraform-aws-ecr.git?ref=tags/0.5.0"
name = "${var.name}"
namespace = "${var.namespace}"
stage = "${var.stage}"
Expand Down

0 comments on commit 91c88be

Please sign in to comment.