-
Notifications
You must be signed in to change notification settings - Fork 15
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
update generated docs action
committed
Apr 17, 2023
1 parent
5bca0d1
commit 5baeac9
Showing
1 changed file
with
51 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "env0_environment_state_access Resource - terraform-provider-env0" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# env0_environment_state_access (Resource) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "env0_environment" "environment" { | ||
name = "Environment Name" | ||
} | ||
data "env0_project" "project" { | ||
name = "Project Name" | ||
} | ||
resource "env0_environment_state_access" "example_allowed_projects" { | ||
environment_id = data.env0_environment.environment.id | ||
allowed_project_ids = [data.env0_project.project.id] | ||
} | ||
resource "env0_environment_state_access" "example_entire_organization" { | ||
environment_id = data.env0_environment.environment.id | ||
accessible_from_entire_organization = true | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `environment_id` (String) id of the environment | ||
|
||
### Optional | ||
|
||
- `accessible_from_entire_organization` (Boolean) when this parameter is 'false', allowed_project_ids should be provided. Defaults to 'false' | ||
- `allowed_project_ids` (List of String) list of allowed project_ids. Used when 'accessible_from_entire_organization' is 'false' | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
|