Skip to content

Commit 435032b

Browse files
committed
register new resource type + gen
1 parent 4743b9e commit 435032b

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

docs/resources/organization.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "coderd_organization Resource - terraform-provider-coderd"
4+
subcategory: ""
5+
description: |-
6+
An organization on the Coder deployment
7+
---
8+
9+
# coderd_organization (Resource)
10+
11+
An organization on the Coder deployment
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `name` (String) Username of the organization.
21+
22+
### Optional
23+
24+
- `description` (String)
25+
- `display_name` (String) Display name of the organization. Defaults to name.
26+
- `icon` (String)
27+
- `members` (Set of String) Members of the organization, by ID. If null, members will not be added or removed by Terraform.
28+
29+
### Read-Only
30+
31+
- `id` (String) Organization ID

internal/provider/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ func (p *CoderdProvider) Resources(ctx context.Context) []func() resource.Resour
139139
NewTemplateResource,
140140
NewWorkspaceProxyResource,
141141
NewLicenseResource,
142+
NewOrganizationResource,
142143
}
143144
}
144145

0 commit comments

Comments
 (0)