From 0dd94fab9bf9fe171e45f8212b9cbbbfb24ef1b8 Mon Sep 17 00:00:00 2001 From: update generated docs action Date: Fri, 2 Feb 2024 16:28:30 +0000 Subject: [PATCH] Update docs --- docs/data-sources/project.md | 1 + docs/data-sources/projects.md | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 docs/data-sources/projects.md diff --git a/docs/data-sources/project.md b/docs/data-sources/project.md index f6572e35..075ab362 100644 --- a/docs/data-sources/project.md +++ b/docs/data-sources/project.md @@ -42,4 +42,5 @@ data "env0_project" "with_parent_id_filter" { - `created_by` (String) textual description of the entity who created the project - `description` (String) textual description of the project +- `hierarchy` (String) the hierarchy of the project - `role` (String) role of the authenticated user (through api key) in the project diff --git a/docs/data-sources/projects.md b/docs/data-sources/projects.md new file mode 100644 index 00000000..33c879f1 --- /dev/null +++ b/docs/data-sources/projects.md @@ -0,0 +1,40 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "env0_projects Data Source - terraform-provider-env0" +subcategory: "" +description: |- + +--- + +# env0_projects (Data Source) + + + +## Example Usage + +```terraform +data "env0_projects" "list_of_projects" {} +``` + + +## Schema + +### Optional + +- `include_archived_projects` (Boolean) set to 'true' to include archived projects (defaults to 'false') + +### Read-Only + +- `id` (String) The ID of this resource. +- `projects` (List of Object) list of projects (see [below for nested schema](#nestedatt--projects)) + + +### Nested Schema for `projects` + +Read-Only: + +- `hierarchy` (String) +- `id` (String) +- `is_archived` (Boolean) +- `name` (String) +- `parent_project_id` (String)