Skip to content

Commit e9d13bb

Browse files
authored
use join-splat pattern (#16)
1 parent 223f30c commit e9d13bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ resource "aws_codepipeline_webhook" "webhook" {
282282
name = "${module.codepipeline_label.id}"
283283
authentication = "${var.webhook_authentication}"
284284
target_action = "${var.webhook_target_action}"
285-
target_pipeline = "${aws_codepipeline.source_build_deploy.name}"
285+
target_pipeline = "${join("", aws_codepipeline.source_build_deploy.*.name)}"
286286

287287
authentication_configuration {
288288
secret_token = "${local.webhook_secret}"

0 commit comments

Comments
 (0)