--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "boundary_target_host_source Resource - terraform-provider-boundary" subcategory: "" description: |- Attaches a host source to an existing Boundary target. Use this resource instead of the host_source_ids field on boundary_target when the target and its host sources are managed in separate Terraform configurations. Do not set host_source_ids on boundary_target when using this resource for the same target. --- # boundary_target_host_source (Resource) Attaches a host source to an existing Boundary target. Use this resource instead of the `host_source_ids` field on `boundary_target` when the target and its host sources are managed in separate Terraform configurations. Do not set `host_source_ids` on `boundary_target` when using this resource for the same target. ## Schema ### Required - `host_source_id` (String) The ID of the host source to attach to the target. - `target_id` (String) The ID of the target to attach the host source to. ### Read-Only - `id` (String) The ID of this resource.