Skip to content

Commit

Permalink
chore: fix up machine examples (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
susanpann authored Oct 24, 2023
1 parent 872d79f commit 6139cc2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
resource "octopusdeploy_azure_service_fabric_cluster_deployment_target" "example" {
account_id = "Accounts-123"
connection_endpoint = "[connection-endpoint]"
environments = ["Environments-123", "Environment-321"]
name = "Azure Service Fabric Cluster Deployment Target (OK to Delete)"
storage_account_name = "[storage_account_name]"
roles = ["Development Team", "System Administrators"]
tenanted_deployment_participation = "Untenanted"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "octopusdeploy_listening_tentacle_deployment_target" "example" {
environments = ["Environments-123", "Environment-321"]
is_disabled = true
machine_policy_id = "MachinePolicy-123"
machine_policy_id = "MachinePolicies-123"
name = "Listening Tentacle Deployment Target (OK to Delete)"
roles = ["Development Team", "System Administrators"]
tenanted_deployment_participation = "Untenanted"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
resource "octopusdeploy_listening_tentacle_deployment_target" "example" {
resource "octopusdeploy_offline_package_drop_deployment_target" "example" {
environments = ["Environments-123", "Environment-321"]
is_disabled = true
machine_policy_id = "MachinePolicy-123"
name = "Listening Tentacle Deployment Target (OK to Delete)"
machine_policy_id = "MachinePolicies-123"
name = "Offline Package Drop Deployment Target (OK to Delete)"
roles = ["Development Team", "System Administrators"]
tenanted_deployment_participation = "Untenanted"
tentacle_url = "https://example.com:1234/"
thumbprint = "<thumbprint>"
working_directory = "<working directory>"
applications_directory = "<applications directory>"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
resource "octopusdeploy_listening_tentacle_deployment_target" "example" {
resource "octopusdeploy_polling_tentacle_deployment_target" "example" {
environments = ["Environments-123", "Environment-321"]
is_disabled = true
machine_policy_id = "MachinePolicy-123"
name = "Listening Tentacle Deployment Target (OK to Delete)"
machine_policy_id = "MachinePolicies-123"
name = "Polling Tentacle Deployment Target (OK to Delete)"
roles = ["Development Team", "System Administrators"]
tenanted_deployment_participation = "Untenanted"
tentacle_url = "https://example.com:1234/"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
resource "octopusdeploy_ssh_connection_deployment_target" "example" {
name = "SSH Connection Deployment Target (OK to Delete)"
fingerprint = "[fingerprint]"
host = "[host]"
port = 22
name = "SSH Connection Deployment Target (OK to Delete)"
fingerprint = "<fingerprint>"
host = "<host>"
port = 22
environments = ["Environments-123", "Environment-321"]
account_id = "Accounts-1"
roles = ["Development Team", "System Administrators"]
}

0 comments on commit 6139cc2

Please sign in to comment.