-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add schema documentation for ec_organization resource. (#864)
- Loading branch information
Showing
10 changed files
with
98 additions
and
9 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 |
---|---|---|
|
@@ -117,4 +117,87 @@ resource "ec_organization" "my_org" { | |
"[email protected]" = local.deployment_viewer | ||
} | ||
} | ||
``` | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `members` (Attributes Map) Manages the members of an Elastic Cloud organization. The key of each entry should be the email of the member. (see [below for nested schema](#nestedatt--members)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) Organization ID | ||
|
||
<a id="nestedatt--members"></a> | ||
### Nested Schema for `members` | ||
|
||
Optional: | ||
|
||
- `deployment_roles` (Attributes Set) Grant access to one or more deployments. For more info see: [Deployment instance roles](https://www.elastic.co/guide/en/cloud/current/ec-user-privileges.html#ec_instance_access_roles). (see [below for nested schema](#nestedatt--members--deployment_roles)) | ||
- `organization_role` (String) The optional organization role for the member. Can be one of `organization-admin`, `billing-admin`. For more info see: [Organization roles](https://www.elastic.co/guide/en/cloud/current/ec-user-privileges.html#ec_organization_level_roles) | ||
- `project_elasticsearch_roles` (Attributes Set) Roles assigned for elasticsearch projects. For more info see: [Serverless elasticsearch roles](https://www.elastic.co/docs/current/serverless/general/assign-user-roles#es) (see [below for nested schema](#nestedatt--members--project_elasticsearch_roles)) | ||
- `project_observability_roles` (Attributes Set) Roles assigned for observability projects. For more info see: [Serverless observability roles](https://www.elastic.co/docs/current/serverless/general/assign-user-roles#observability) (see [below for nested schema](#nestedatt--members--project_observability_roles)) | ||
- `project_security_roles` (Attributes Set) Roles assigned for security projects. For more info see: [Serverless security roles](https://www.elastic.co/docs/current/serverless/general/assign-user-roles#security) (see [below for nested schema](#nestedatt--members--project_security_roles)) | ||
|
||
Read-Only: | ||
|
||
- `email` (String) Email address of the user. | ||
- `invitation_pending` (Boolean) Set to true while the user has not yet accepted their invitation to the organization. | ||
- `user_id` (String) User ID. | ||
|
||
<a id="nestedatt--members--deployment_roles"></a> | ||
### Nested Schema for `members.deployment_roles` | ||
|
||
Required: | ||
|
||
- `role` (String) Assigned role. Must be on of `viewer`, `editor` or `admin`. | ||
|
||
Optional: | ||
|
||
- `all_deployments` (Boolean) Role applies to all deployments in the organization. | ||
- `application_roles` (Set of String) If provided, the user assigned this role assignment will be granted this application role when signing in to the deployment(s) specified in the role assignment. | ||
- `deployment_ids` (Set of String) Role applies to deployments listed here. | ||
|
||
|
||
<a id="nestedatt--members--project_elasticsearch_roles"></a> | ||
### Nested Schema for `members.project_elasticsearch_roles` | ||
|
||
Required: | ||
|
||
- `role` (String) Assigned role. (Allowed values: `admin`, `developer`, `viewer`) | ||
|
||
Optional: | ||
|
||
- `all_projects` (Boolean) Role applies to all projects in the organization. | ||
- `application_roles` (Set of String) If provided, the user assigned this role assignment will be granted this application role when signing in to the project(s) specified in the role assignment. | ||
- `project_ids` (Set of String) Role applies to projects listed here. | ||
|
||
|
||
<a id="nestedatt--members--project_observability_roles"></a> | ||
### Nested Schema for `members.project_observability_roles` | ||
|
||
Required: | ||
|
||
- `role` (String) Assigned role. (Allowed values: `admin`, `editor`, `viewer`) | ||
|
||
Optional: | ||
|
||
- `all_projects` (Boolean) Role applies to all projects in the organization. | ||
- `application_roles` (Set of String) If provided, the user assigned this role assignment will be granted this application role when signing in to the project(s) specified in the role assignment. | ||
- `project_ids` (Set of String) Role applies to projects listed here. | ||
|
||
|
||
<a id="nestedatt--members--project_security_roles"></a> | ||
### Nested Schema for `members.project_security_roles` | ||
|
||
Required: | ||
|
||
- `role` (String) Assigned role. (Allowed values: `admin`, `editor`, `viewer`, `t1-analyst`, `t2-analyst`, `t3-analyst`, `threat-intel-analyst`, `rule-author`, `soc-manager`, `endpoint-operations-analyst`, `platform-engineer`, `detections-admin`, `endpoint-policy-manager`) | ||
|
||
Optional: | ||
|
||
- `all_projects` (Boolean) Role applies to all projects in the organization. | ||
- `application_roles` (Set of String) If provided, the user assigned this role assignment will be granted this application role when signing in to the project(s) specified in the role assignment. | ||
- `project_ids` (Set of String) Role applies to projects listed here. |
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
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