1.5 KiB
1.5 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| boundary_host_catalog Resource - terraform-provider-boundary | Deprecated: use boundary_host_catalog_static instead. |
boundary_host_catalog (Resource)
Deprecated: use boundary_host_catalog_static instead.
Example Usage
resource "boundary_scope" "org" {
name = "organization_one"
description = "My first scope!"
scope_id = boundary_scope.global.id
auto_create_admin_role = true
auto_create_default_role = true
}
resource "boundary_scope" "project" {
name = "project_one"
description = "My first scope!"
scope_id = boundary_scope.org.id
auto_create_admin_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) The scope ID in which the resource is created.type(String) The host catalog type. Onlystaticis supported.
Optional
description(String) The host catalog description.name(String) The host catalog name. Defaults to the resource name.
Read-Only
id(String) The ID of the host catalog.
Import
Import is supported using the following syntax:
terraform import boundary_host_catalog.foo <my-id>