* add initial prototype of self managed worker resource and associated tests * Add self managed worker resource and associated tests * Update internal/provider/resource_self_managed_worker.go Accept suggested schema changes for tags Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> * add environment variable check for worker led auth testing * change resource name from self_managed_worker to worker for consistency with the api * update tag schemas, ensure all attributes have descriptions * add generated docs for worker * add examples for worker resource * add examples for worker resource * remove merge conflict * Remove funtionality for reflecting tags in the schema * remove unused attributes (all tags) from schema, updates tests to use 'boundary_worker' on resource checks * update example for inclusion in the website docs --------- Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
12 lines
368 B
Terraform
12 lines
368 B
Terraform
resource "boundary_worker" "controller_led" {
|
|
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
|
|
} |