Skip to content

Commit

Permalink
Merge pull request #541 from OctopusDeployLabs/robe/doc
Browse files Browse the repository at this point in the history
  • Loading branch information
John Simons authored Sep 13, 2023
2 parents 0d7099e + ca048b3 commit 30a974c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions examples/resources/octopusdeploy_deployment_process/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,25 @@ resource "octopusdeploy_deployment_process" "child_step_example" {
start_trigger = "StartAfterPrevious"
target_roles = [ "hello-world" ]
run_script_action {
name = "Hello world (using PowerShell)"
sort_order = 1
can_be_used_for_project_versioning = false
condition = "Success"
is_disabled = false
is_required = true
name = "Hello world (using PowerShell)"
script_body = <<-EOT
Write-Host 'Hello world, using PowerShell'
#TODO: Experiment with steps of your own :)
Write-Host '[Learn more about the types of steps available in Octopus](https://g.octopushq.com/OnboardingAddStepsLearnMore)'
EOT
}
run_script_action {
name = "Hello world (using Bash)"
sort_order = 2
can_be_used_for_project_versioning = false
condition = "Success"
is_disabled = false
is_required = true
name = "Hello world (using Bash)"
script_body = <<-EOT
echo 'Hello world, using Bash'
#TODO: Experiment with steps of your own :)
Expand All @@ -88,23 +90,25 @@ resource "octopusdeploy_deployment_process" "child_step_rolling_deployment_examp
target_roles = [ "hello-world" ]
window_size = 2
run_script_action {
name = "Hello world (using PowerShell)"
sort_order = 1
can_be_used_for_project_versioning = false
condition = "Success"
is_disabled = false
is_required = true
name = "Hello world (using PowerShell)"
script_body = <<-EOT
Write-Host 'Hello world, using PowerShell'
#TODO: Experiment with steps of your own :)
Write-Host '[Learn more about the types of steps available in Octopus](https://g.octopushq.com/OnboardingAddStepsLearnMore)'
EOT
}
run_script_action {
name = "Hello world (using Bash)"
sort_order = 2
can_be_used_for_project_versioning = false
condition = "Success"
is_disabled = false
is_required = true
name = "Hello world (using Bash)"
script_body = <<-EOT
echo 'Hello world, using Bash'
#TODO: Experiment with steps of your own :)
Expand Down

0 comments on commit 30a974c

Please sign in to comment.