Skip to content

Commit

Permalink
docs: add project resource documentation (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
malnick authored Aug 18, 2020
1 parent 64604dd commit fc89b9f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions website/docs/r/resource_project.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
layout: "boundary"
page_title: "Boundary: project_resource"
sidebar_current: "docs-boundary-project-resource"
description: |-
Project resource for the Boundary Terraform provider.
---

# boundary_project_resource
The project resource allows you to configure a Boundary project.

## Example Usage

```hcl
resource "boundary_project" "foo" {
name = "foo_project"
description = "My first project!"
}
```

Usage for project-specific resources:

```hcl
resource "boundary_project" "foo" {
name = "foo_project"
}
resource "boundary_user" "foo" {
description = "foo user"
}
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.

0 comments on commit fc89b9f

Please sign in to comment.