Files
terraform-provider-threshold/website/docs/r/resource_host_catalog.html.markdown
T

1.1 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
boundary Boundary: host_catalog_resource docs-boundary-host-catalog-resource Host catalog resource for the Boundary Terraform provider.

host_catalog_resource

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_project" "example" {
  description = "My first project!"
}

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

Argument Reference

The following arguments are required:

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

The following arguments are optional:

  • name - The host catalog name. Defaults to the resource name.
  • description - The host catalog description.