Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • 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.
51 changes: 51 additions & 0 deletions docs/resources/environment_state_access.md
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.


0 comments on commit 5baeac9

Please sign in to comment.