From 4b0a161ce291217599a6bbfb6084d4fc448a989d Mon Sep 17 00:00:00 2001 From: Uruemu S Aganbi <9087380+uruemu@users.noreply.github.com> Date: Tue, 22 Aug 2023 12:48:34 -0400 Subject: [PATCH] Correct `boundary_worker` resource example (#438) * Correct `boundary_worker` resource example * regenerate docs --- docs/resources/worker.md | 2 +- examples/resources/boundary_worker/resource.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 +}