Files
terraform-provider-threshold/docs/resources/worker.md
T
grantorchardandJohan Brandhorst-Satzkorn cfc57d5e25 Add support for boundary_self_managed_worker resource. (#293)
* 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

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2022-11-24 11:28:27 -05:00

1.5 KiB

page_title, subcategory, description
page_title subcategory description
boundary_worker Resource - terraform-provider-boundary The resource allows you to create a self-managed worker object.

boundary_worker (Resource)

The resource allows you to create a self-managed worker object.

Schema

Required

  • scope_id (String) The scope for the worker.

Optional

  • api_tags (Map of List of String) API tags applied to the worker.
  • description (String) The description for the worker.
  • name (String) The name for the worker.
  • worker_generated_auth_token (String) The worker authentication token required to register the worker for the worker-led authentication flow. Leaving this blank will result in a controller generated token.

Read-Only

  • address (String) The accessible address of the self managed worker.
  • authorized_actions (List of String) A list of actions that the worker is entitled to perform.
  • canonical_tags (Map of List of String) The aggregated view of worker tags and API tags.
  • config_tags (Map of List of String) Tags as configured in the worker's HCL file.
  • controller_generated_activation_token (String) A single use token generated by the controller to be passed to the self-managed worker.
  • id (String) The ID of the worker.
  • release_version (Number) The version of the Boundary binary running on the self managed worker.