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