diff --git a/docs/resources/worker.md b/docs/resources/worker.md index 7b08551c..dbb2a471 100644 --- a/docs/resources/worker.md +++ b/docs/resources/worker.md @@ -19,7 +19,7 @@ resource "boundary_worker" "controller_led" { description = "self managed worker with controller led auth" } -resource "boundary_self_managed_worker" "worker_led" { +resource "boundary_worker" "worker_led" { scope_id = "global" name = "worker 2" description = "self managed worker with worker led auth" diff --git a/examples/resources/boundary_worker/resource.tf b/examples/resources/boundary_worker/resource.tf index 559194b4..49f427f7 100644 --- a/examples/resources/boundary_worker/resource.tf +++ b/examples/resources/boundary_worker/resource.tf @@ -4,9 +4,9 @@ resource "boundary_worker" "controller_led" { description = "self managed worker with controller led auth" } -resource "boundary_self_managed_worker" "worker_led" { +resource "boundary_worker" "worker_led" { scope_id = "global" name = "worker 2" description = "self managed worker with worker led auth" worker_generated_auth_token = var.worker_generated_auth_token -} \ No newline at end of file +}