From 6ff02f4e6b810b6a3365bf4810f36b094bd47227 Mon Sep 17 00:00:00 2001 From: Louis Ruch Date: Tue, 21 Mar 2023 20:38:03 -0700 Subject: [PATCH] chore: run go generate --- docs/resources/target.md | 2 ++ docs/resources/worker.md | 14 +++++++------- examples/resources/boundary_worker/resource.tf | 14 +++++++------- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/resources/target.md b/docs/resources/target.md index dfa0b02b..f87d3aa7 100644 --- a/docs/resources/target.md +++ b/docs/resources/target.md @@ -61,6 +61,7 @@ resource "boundary_host" "foo" { type = "static" name = "foo" host_catalog_id = boundary_host_catalog.foo.id + scope_id = boundary_scope.project.id address = "10.0.0.1" } @@ -68,6 +69,7 @@ resource "boundary_host" "bar" { type = "static" name = "bar" host_catalog_id = boundary_host_catalog.foo.id + scope_id = boundary_scope.project.id address = "10.0.0.1" } diff --git a/docs/resources/worker.md b/docs/resources/worker.md index b888c224..7b08551c 100644 --- a/docs/resources/worker.md +++ b/docs/resources/worker.md @@ -14,16 +14,16 @@ The resource allows you to create a self-managed worker object. ```terraform resource "boundary_worker" "controller_led" { - scope_id = "global" - name = "worker 1" - description = "self managed worker with controller led auth" + scope_id = "global" + name = "worker 1" + description = "self managed worker with controller led auth" } resource "boundary_self_managed_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 + scope_id = "global" + name = "worker 2" + description = "self managed worker with worker led auth" + worker_generated_auth_token = var.worker_generated_auth_token } ``` diff --git a/examples/resources/boundary_worker/resource.tf b/examples/resources/boundary_worker/resource.tf index 3e0f54f9..559194b4 100644 --- a/examples/resources/boundary_worker/resource.tf +++ b/examples/resources/boundary_worker/resource.tf @@ -1,12 +1,12 @@ resource "boundary_worker" "controller_led" { - scope_id = "global" - name = "worker 1" - description = "self managed worker with controller led auth" + scope_id = "global" + name = "worker 1" + description = "self managed worker with controller led auth" } resource "boundary_self_managed_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 + 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