From 90225bf7a4809b0635f748c57cdd49e72cfd97b4 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 20 Dec 2023 11:57:20 -0600 Subject: [PATCH] Update deployment process --- .octopus/deployment_process.ocl | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.octopus/deployment_process.ocl b/.octopus/deployment_process.ocl index 16d0ad6..ffd6caa 100644 --- a/.octopus/deployment_process.ocl +++ b/.octopus/deployment_process.ocl @@ -1,8 +1,7 @@ -step "infra" { - name = "Infra" +step "terraform-plan" { + name = "Terraform Plan" - action "terraform-plan" { - name = "Terraform Plan" + action { properties = { Octopus.Action.RunOnServer = "true" Octopus.Action.Template.Id = "ActionTemplates-1" @@ -15,18 +14,24 @@ step "infra" { image = "#{TF_CONTAINER}" } } +} - action "approve-plan" { - name = "Approve Plan" +step "approve-plan" { + name = "Approve Plan" + + action { properties = { Octopus.Action.RunOnServer = "false" Octopus.Action.Template.Id = "ActionTemplates-3" Octopus.Action.Template.Version = "0" } } +} + +step "infra" { + name = "Terraform Apply" action "terraform-apply" { - name = "Terraform Apply" properties = { Octopus.Action.RunOnServer = "true" Octopus.Action.Template.Id = "ActionTemplates-2"