Skip to content

Commit a75db65

Browse files
authored
Remove documentation about direct mode (#198)
There's no benefit in running direct mode, so remove the documentation for it. The right way of connecting to the backend is via the orchestrator agent.
1 parent 6caee5a commit a75db65

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

website/docs/d/fargate_workload_agent.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Updates the fargate workload definition to add a [Sysdig Agent](https://docs.sys
1212

1313
-> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.
1414

15-
You can connect the Sysdig agent directly to a collector (using `collector_host` and `collector` port) or through an orchestrator (using `orchestrator_host` and `orchestrator_port`). For details about how to deploy an orchestrator check the [Sysdig Orchestrator module](https://registry.terraform.io/modules/sysdiglabs/fargate-orchestrator-agent/aws/latest).
15+
You'll need to connect the Sysdig Agent to the Sysdig backend through an orchestrator. For details about how to deploy an orchestrator check the [Sysdig Orchestrator module](https://registry.terraform.io/modules/sysdiglabs/fargate-orchestrator-agent/aws/latest).
1616

1717
## Example Usage
1818

@@ -24,21 +24,19 @@ data "sysdig_fargate_workload_agent" "instrumented_containers" {
2424
workload_agent_image = "quay.io/sysdig/workload-agent:latest"
2525
2626
sysdig_access_key = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
27-
collector_host = "collector-static.sysdigcloud.com"
28-
collector_port = 6443
27+
orchestrator_host = module.fargate-orchestrator-agent.orchestrator_host
28+
orchestrator_port = module.fargate-orchestrator-agent.orchestrator_port
2929
}
3030
```
3131

3232
## Argument Reference
3333

3434
* `container_definitions` - (Required) The input Fargate container definitions to instrument with the Sysdig workload agent.
3535
* `sysdig_access_key` - (Required) The Sysdig Access Key (Agent token).
36+
* `orchestrator_host` - (Required) The orchestrator host to connect to.
37+
* `orchestrator_port` - (Required) The orchestrator port to connect to.
3638
* `workload_agent_image` - (Required) The Sysdig workload agent image.
3739
* `image_auth_secret` - (Optional) The registry authentication secret.
38-
* `orchestrator_host` - (Optional) The orchestrator host to connect to.
39-
* `orchestrator_port` - (Optional) The orchestrator port to connect to.
40-
* `collector_host` - (Optional) The collector host to connect to.
41-
* `collector_port` - (Optional) The collector port to connect to.
4240
* `log_configuration` - (Optional) Configuration for the awslogs driver on the instrumentation container. All three values must be specified if instrumentation logging is desired:
4341
* `group` - The name of the existing log group for instrumentation logs
4442
* `stream_prefix` - Prefix for the instrumentation log stream

0 commit comments

Comments
 (0)