Files
terraform-provider-threshold/docs/resources/host_catalog.md
T
Paul TyngandJeff Malnick 8bb38f1fd6 Cleanup (#50)
* Cleanup some of the repo, prep for release

* Rework docs to new registry structure

* Add docs generator tooling

* Generate the docs

* update deps

* docs: add docs generation command to readme

Co-authored-by: Jeff Malnick <malnick@gmail.com>
2020-10-06 17:34:16 -07:00

1.6 KiB

page_title, subcategory, description
page_title subcategory description
boundary_host_catalog Resource - terraform-provider-boundary The host catalog resource allows you to configure a Boundary host catalog. Host catalogs are always part of a project, so a project resource should be used inline or you should have the project ID in hand to successfully configure a host catalog.

Resource boundary_host_catalog

The host catalog resource allows you to configure a Boundary host catalog. Host catalogs are always part of a project, so a project resource should be used inline or you should have the project ID in hand to successfully configure a host catalog.

Example Usage

resource "boundary_scope" "org" {
  name             = "organization_one"
  description      = "My first scope!"
  scope_id         = boundary_scope.global.id
  auto_create_role = true
}

resource "boundary_scope" "project" {
  name             = "project_one"
  description      = "My first scope!"
  scope_id         = boundary_scope.org.id
  auto_create_role = true
}

resource "boundary_host_catalog" "example" {
  name        = "My catalog"
  description = "My first host catalog!"
  type        = "Static"
  scope_id    = boundary_scope.project.id
}

Schema

Required

  • scope_id (String, Required) The scope ID in which the resource is created.
  • type (String, Required) The host catalog type. Only Static (yes, title case) is supported.

Optional

  • description (String, Optional) The host catalog description.
  • id (String, Optional) The ID of this resource.
  • name (String, Optional) The host catalog name. Defaults to the resource name.