* feat: add dev and update-deps Makefile targets * feat: add host catalog resource * docs: add host catalog resource docs
1.1 KiB
1.1 KiB
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| watchtower | Watchtower: host_catalog_resource | docs-watchtower-host-catalog-resource | Host catalog resource for the Watchtower Terraform provider. |
host_catalog_resource
The host catalog resource allows you to configure a Watchtower 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 "watchtower_project" "example" {
description = "My first project!"
}
resource "watchtower_host_catalog" "example" {
name = "My catalog"
description = "My first host catalog!"
type = "Static"
project_id = watchtower_project.example.id
}
Argument Reference
The following arguments are required:
type- The host catalog type. OnlyStatic(yes, title case) is supported.project_id- The project in which to create this host catalog.
The following arguments are optional:
name- The host catalog name. Defaults to the resource name.description- The host catalog description.