Skip to content

Commit 8b44f38

Browse files
docs(serverless): the workload agent no longer requires the orchestrator (#587)
1 parent c31d9e0 commit 8b44f38

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

website/docs/d/fargate_workload_agent.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,33 @@ description: |-
88

99
# Data Source: fargate_workload_agent
1010

11-
Updates the fargate workload definition to add a [Sysdig Agent](https://docs.sysdig.com/en/docs/installation/serverless-agents/aws-fargate-serverless-agents/)
11+
Updates the ECS Fargate Container Definitions to add a [Sysdig Workload Agent](https://docs.sysdig.com/en/docs/installation/serverless-agents/aws-fargate-serverless-agents/)
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'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).
15+
The Sysdig Workload Agent will need to connect to the Sysdig Collector. Find your region's collector endpoint here: https://docs.sysdig.com/en/docs/administration/saas-regions-and-ip-ranges/.
1616

1717
## Example Usage
1818

1919
```terraform
2020
data "sysdig_fargate_workload_agent" "instrumented_containers" {
2121
container_definitions = "[]"
2222
23-
image_auth_secret = ""
2423
workload_agent_image = "quay.io/sysdig/workload-agent:latest"
25-
26-
orchestrator_host = module.fargate-orchestrator-agent.orchestrator_host
27-
orchestrator_port = module.fargate-orchestrator-agent.orchestrator_port
24+
25+
collector_host = var.collector_host
26+
collector_port = var.collector_port
27+
sysdig_access_key = var.sysdig_access_key
2828
}
2929
```
3030

3131
## Argument Reference
3232

3333
* `container_definitions` - (Required) The input Fargate container definitions to instrument with the Sysdig workload agent.
34-
* `orchestrator_host` - (Required) The orchestrator host to connect to.
35-
* `orchestrator_port` - (Required) The orchestrator port to connect to.
3634
* `workload_agent_image` - (Required) The Sysdig workload agent image.
35+
* `collector_host` - (Required) The Sysdig Collector host to connect to.
36+
* `collector_port` - (Required) The Sysdig Collector port.
37+
* `sysdig_access_key` - (Required) The Sysdig Agent access key, available in the Sysdig Secure UI.
3738
* `image_auth_secret` - (Optional) The registry authentication secret.
3839
* `log_configuration` - (Optional) Configuration for the awslogs driver on the instrumentation container. All three values must be specified if instrumentation logging is desired:
3940
* `group` - The name of the existing log group for instrumentation logs

0 commit comments

Comments
 (0)