generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,529 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "astro_team Resource - astro" | ||
subcategory: "" | ||
description: |- | ||
Team resource | ||
--- | ||
|
||
# astro_team (Resource) | ||
|
||
Team resource | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "astro_team" "example" { | ||
name = "team" | ||
description = "team-description" | ||
member_ids = ["clhpichn8002m01mqa4ocs7g6"] | ||
organization_role = "ORGANIZATION_OWNER" | ||
workspace_roles = [{ | ||
workspace_id = "clx42sxw501gl01o0gjenthnh" | ||
role = "WORKSPACE_OWNER" | ||
}] | ||
deployment_roles = [{ | ||
deployment_id = "clyn6kxud003x01mtxmccegnh" | ||
role = "DEPLOYMENT_ADMIN" | ||
}] | ||
} | ||
resource "astro_team" "example_with_no_optional_fields" { | ||
name = "team" | ||
organization_role = "ORGANIZATION_OWNER" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) Team name | ||
- `organization_role` (String) The role to assign to the Organization | ||
|
||
### Optional | ||
|
||
- `deployment_roles` (Attributes Set) The roles to assign to the Deployments (see [below for nested schema](#nestedatt--deployment_roles)) | ||
- `description` (String) Team description | ||
- `member_ids` (Set of String) The IDs of the users to add to the Team | ||
- `workspace_roles` (Attributes Set) The roles to assign to the Workspaces (see [below for nested schema](#nestedatt--workspace_roles)) | ||
|
||
### Read-Only | ||
|
||
- `created_at` (String) Team creation timestamp | ||
- `created_by` (Attributes) Team creator (see [below for nested schema](#nestedatt--created_by)) | ||
- `id` (String) Team ID | ||
- `is_idp_managed` (Boolean) Whether the Team is managed by an identity provider | ||
- `roles_count` (Number) Number of roles assigned to the Team | ||
- `updated_at` (String) Team last updated timestamp | ||
- `updated_by` (Attributes) Team updater (see [below for nested schema](#nestedatt--updated_by)) | ||
|
||
<a id="nestedatt--deployment_roles"></a> | ||
### Nested Schema for `deployment_roles` | ||
|
||
Required: | ||
|
||
- `deployment_id` (String) The ID of the deployment to assign the role to | ||
- `role` (String) The role to assign to the deployment | ||
|
||
|
||
<a id="nestedatt--workspace_roles"></a> | ||
### Nested Schema for `workspace_roles` | ||
|
||
Required: | ||
|
||
- `role` (String) The role to assign to the workspace | ||
- `workspace_id` (String) The ID of the workspace to assign the role to | ||
|
||
|
||
<a id="nestedatt--created_by"></a> | ||
### Nested Schema for `created_by` | ||
|
||
Read-Only: | ||
|
||
- `api_token_name` (String) | ||
- `avatar_url` (String) | ||
- `full_name` (String) | ||
- `id` (String) | ||
- `subject_type` (String) | ||
- `username` (String) | ||
|
||
|
||
<a id="nestedatt--updated_by"></a> | ||
### Nested Schema for `updated_by` | ||
|
||
Read-Only: | ||
|
||
- `api_token_name` (String) | ||
- `avatar_url` (String) | ||
- `full_name` (String) | ||
- `id` (String) | ||
- `subject_type` (String) | ||
- `username` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
resource "astro_team" "example" { | ||
name = "team" | ||
description = "team-description" | ||
member_ids = ["clhpichn8002m01mqa4ocs7g6"] | ||
organization_role = "ORGANIZATION_OWNER" | ||
workspace_roles = [{ | ||
workspace_id = "clx42sxw501gl01o0gjenthnh" | ||
role = "WORKSPACE_OWNER" | ||
}] | ||
deployment_roles = [{ | ||
deployment_id = "clyn6kxud003x01mtxmccegnh" | ||
role = "DEPLOYMENT_ADMIN" | ||
}] | ||
} | ||
|
||
resource "astro_team" "example_with_no_optional_fields" { | ||
name = "team" | ||
organization_role = "ORGANIZATION_OWNER" | ||
} | ||
|
Oops, something went wrong.