diff --git a/sysdig/data_source_sysdig_fargate_workload_agent.go b/sysdig/data_source_sysdig_fargate_workload_agent.go index c5a716693..143be7ea3 100644 --- a/sysdig/data_source_sysdig_fargate_workload_agent.go +++ b/sysdig/data_source_sysdig_fargate_workload_agent.go @@ -50,7 +50,7 @@ func dataSourceSysdigFargateWorkloadAgent() *schema.Resource { "sysdig_access_key": { Type: schema.TypeString, Description: "the Sysdig access key", - Required: true, + Optional: true, }, "workload_agent_image": { Type: schema.TypeString, diff --git a/website/docs/d/fargate_workload_agent.md b/website/docs/d/fargate_workload_agent.md index 28d12cd20..f04bb117b 100644 --- a/website/docs/d/fargate_workload_agent.md +++ b/website/docs/d/fargate_workload_agent.md @@ -22,8 +22,7 @@ data "sysdig_fargate_workload_agent" "instrumented_containers" { image_auth_secret = "" workload_agent_image = "quay.io/sysdig/workload-agent:latest" - - sysdig_access_key = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + orchestrator_host = module.fargate-orchestrator-agent.orchestrator_host orchestrator_port = module.fargate-orchestrator-agent.orchestrator_port } @@ -32,7 +31,6 @@ data "sysdig_fargate_workload_agent" "instrumented_containers" { ## Argument Reference * `container_definitions` - (Required) The input Fargate container definitions to instrument with the Sysdig workload agent. -* `sysdig_access_key` - (Required) The Sysdig Access Key (Agent token). * `orchestrator_host` - (Required) The orchestrator host to connect to. * `orchestrator_port` - (Required) The orchestrator port to connect to. * `workload_agent_image` - (Required) The Sysdig workload agent image.