Skip to content

Commit

Permalink
Document how to disallow remote state access
Browse files Browse the repository at this point in the history
  • Loading branch information
project-kmac authored Sep 19, 2023
1 parent 51748f7 commit b1c7cdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/resources/environment_state_access.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ resource "env0_environment_state_access" "example_entire_organization" {
### 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'
- `allowed_project_ids` (List of String) list of allowed project_ids. Used when 'accessible_from_entire_organization' is 'false'. To disallow remote state access for env0 backend, fill the allowed_project_id list with string "none". Skipping allowed_project_ids or setting to [] yields a 400 error. (e.g. ```accessible_from_entire_organization = false
allowed_project_ids = ["none"]```)

### Read-Only

Expand Down

0 comments on commit b1c7cdb

Please sign in to comment.