Files
terraform-provider-threshold/docs/resources/host_catalog.md
T

62 lines
1.5 KiB
Markdown
Raw Normal View History

2020-10-06 20:34:16 -04:00
---
2021-01-14 14:07:36 -08:00
# generated by https://github.com/hashicorp/terraform-plugin-docs
2020-10-06 20:34:16 -04:00
page_title: "boundary_host_catalog Resource - terraform-provider-boundary"
subcategory: ""
description: |-
2022-08-10 14:15:51 -07:00
Deprecated: use boundary_host_catalog_static instead.
2020-10-06 20:34:16 -04:00
---
2021-05-05 10:02:53 -07:00
# boundary_host_catalog (Resource)
2020-10-06 20:34:16 -04:00
2022-08-10 14:15:51 -07:00
Deprecated: use `boundary_host_catalog_static` instead.
2020-10-06 20:34:16 -04:00
## Example Usage
```terraform
resource "boundary_scope" "org" {
2020-10-13 23:12:03 -04:00
name = "organization_one"
description = "My first scope!"
scope_id = boundary_scope.global.id
auto_create_admin_role = true
auto_create_default_role = true
2020-10-06 20:34:16 -04:00
}
resource "boundary_scope" "project" {
2021-01-14 14:07:36 -08:00
name = "project_one"
description = "My first scope!"
scope_id = boundary_scope.org.id
auto_create_admin_role = true
2020-10-06 20:34:16 -04:00
}
resource "boundary_host_catalog" "example" {
name = "My catalog"
description = "My first host catalog!"
type = "Static"
scope_id = boundary_scope.project.id
}
```
2021-01-14 14:07:36 -08:00
<!-- schema generated by tfplugindocs -->
2020-10-06 20:34:16 -04:00
## Schema
### Required
2022-05-13 18:10:43 -07:00
- `scope_id` (String) The scope ID in which the resource is created.
- `type` (String) The host catalog type. Only `static` is supported.
2020-10-06 20:34:16 -04:00
### Optional
2022-05-13 18:10:43 -07:00
- `description` (String) The host catalog description.
- `name` (String) The host catalog name. Defaults to the resource name.
2020-10-06 20:34:16 -04:00
2021-05-05 10:02:53 -07:00
### Read-Only
2022-05-13 18:10:43 -07:00
- `id` (String) The ID of the host catalog.
2020-10-07 12:04:11 -04:00
## Import
2020-10-06 20:34:16 -04:00
2020-10-07 12:04:11 -04:00
Import is supported using the following syntax:
```shell
terraform import boundary_host_catalog.foo <my-id>
```