From cc04648b4fd1ed8b5f8779d5d58db9d08ea3181d Mon Sep 17 00:00:00 2001 From: Michael Richardson Date: Sun, 12 Nov 2023 15:44:38 +1000 Subject: [PATCH] corrected terraform for channel --- deploy/terraform/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/terraform/main.tf b/deploy/terraform/main.tf index 7af695d..81328e1 100644 --- a/deploy/terraform/main.tf +++ b/deploy/terraform/main.tf @@ -48,6 +48,6 @@ resource "octopusdeploy_lifecycle" "branch_lifecycle" { resource "octopusdeploy_channel" "branch_channel" { name = "${terraform.workspace}" - project_id = "${data.octopusdeploy_projects.shipped_project.id}" + project_id = "${data.octopusdeploy_projects.shipped_project.projects[0].id}" lifecycle_id = "${octopusdeploy_lifecycle.branch_lifecycle.id}" } \ No newline at end of file