* Cleanup some of the repo, prep for release * Rework docs to new registry structure * Add docs generator tooling * Generate the docs * update deps * docs: add docs generation command to readme Co-authored-by: Jeff Malnick <malnick@gmail.com>
42 lines
1.0 KiB
Terraform
42 lines
1.0 KiB
Terraform
resource "boundary_scope" "org" {
|
|
name = "organization_one"
|
|
description = "My first scope!"
|
|
scope_id = "global"
|
|
auto_create_role = true
|
|
}
|
|
|
|
resource "boundary_scope" "project" {
|
|
name = "project_one"
|
|
description = "My first scope!"
|
|
scope_id = boundary_scope.org.id
|
|
auto_create_role = true
|
|
}
|
|
|
|
resource "boundary_host_catalog" "static" {
|
|
scope_id = boundary_scope.project.id
|
|
}
|
|
|
|
resource "boundary_host" "1" {
|
|
name = "host_1"
|
|
description = "My first host!"
|
|
address = "10.0.0.1"
|
|
host_catalog_id = boundary_host_catalog.static.id
|
|
scope_id = boundary_scope.project.id
|
|
}
|
|
|
|
resource "boundary_host" "2" {
|
|
name = "host_2"
|
|
description = "My second host!"
|
|
address = "10.0.0.2"
|
|
host_catalog_id = boundary_host_catalog.static.id
|
|
scope_id = boundary_scope.project.id
|
|
}
|
|
|
|
resource "boundary_host_set" "web" {
|
|
host_catalog_id = boundary_host_catalog.static.id
|
|
host_ids = [
|
|
boundary_host.1.id,
|
|
boundary_host.2.id,
|
|
]
|
|
}
|