From b1c7cdbf26a3e07fc925ba491c7dd33227500946 Mon Sep 17 00:00:00 2001 From: Kevin Damaso Date: Tue, 19 Sep 2023 11:50:43 -0700 Subject: [PATCH] Document how to disallow remote state access --- docs/resources/environment_state_access.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/resources/environment_state_access.md b/docs/resources/environment_state_access.md index a79a5dfc..591a8df2 100644 --- a/docs/resources/environment_state_access.md +++ b/docs/resources/environment_state_access.md @@ -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