1.2 KiB
1.2 KiB
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| boundary | Boundary: project_resource | docs-boundary-project-resource | Project resource for the Boundary Terraform provider. |
boundary_project_resource
The project resource allows you to configure a Boundary project.
Example Usage
resource "boundary_organization" "foo" {}
resource "boundary_project" "foo" {
name = "foo_project"
description = "My first project!"
scope_id = boundary_organization.foo.id
}
Usage for project-specific resources:
resource "boundary_organization" "foo" {}
resource "boundary_project" "foo" {
name = "foo_project"
scope_id = boundary_organization.foo.id
}
resource "boundary_user" "foo" {
description = "foo user"
scope_id = boundary_organization.foo.id
}
resource "boundary_group" "example" {
name = "My group"
description = "My first group!"
member_ids = [boundary_user.foo.id]
scope_id = boundary_project.foo.id
}
Argument Reference
The following arguments are optional:
description- The project description.name- The project name. Defaults to the resource name.scope_id- The scope for the project which is always an organization ID.