Skip to content

Commit

Permalink
corrected terraform for channel
Browse files Browse the repository at this point in the history
  • Loading branch information
MJRichardson committed Nov 12, 2023
1 parent 214a5b5 commit cc04648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

0 comments on commit cc04648

Please sign in to comment.