39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
step "terraform-plan" {
|
|
name = "Terraform Plan"
|
|
|
|
action {
|
|
action_type = "Octopus.TerraformPlan"
|
|
properties = {
|
|
Octopus.Action.GoogleCloud.ImpersonateServiceAccount = "False"
|
|
Octopus.Action.GoogleCloud.UseVMServiceAccount = "True"
|
|
Octopus.Action.RunOnServer = "true"
|
|
Octopus.Action.Script.ScriptSource = "Package"
|
|
Octopus.Action.Terraform.AdditionalInitParams = "#{TF_INIT}"
|
|
Octopus.Action.Terraform.AllowPluginDownloads = "True"
|
|
Octopus.Action.Terraform.AzureAccount = "False"
|
|
Octopus.Action.Terraform.GoogleCloudAccount = "False"
|
|
Octopus.Action.Terraform.ManagedAccount = "None"
|
|
Octopus.Action.Terraform.PlanJsonOutput = "False"
|
|
Octopus.Action.Terraform.RunAutomaticFileSubstitution = "True"
|
|
OctopusUseBundledTooling = "False"
|
|
}
|
|
worker_pool_variable = ""
|
|
|
|
container {
|
|
feed = "nexus"
|
|
image = "#{TF_CONTAINER}"
|
|
}
|
|
}
|
|
}
|
|
|
|
step "approve-plan" {
|
|
name = "Approve Plan"
|
|
|
|
action {
|
|
properties = {
|
|
Octopus.Action.RunOnServer = "false"
|
|
Octopus.Action.Template.Id = "ActionTemplates-3"
|
|
Octopus.Action.Template.Version = "0"
|
|
}
|
|
}
|
|
} |