--- layout: "watchtower" page_title: "Watchtower: host_catalog_resource" sidebar_current: "docs-watchtower-host-catalog-resource" description: |- 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 ```hcl 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. Only `Static` (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.