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 Jun 4, 2024
1 parent c9b6370 commit 44768b3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/resources/variable_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ data "env0_project" "project" {
name = "project"
}
data "env0_environment" "environment" {
name = "environment"
}
resource "env0_variable_set" "organization_scope_example" {
name = "variable-set-example1"
description = "description123"
Expand Down Expand Up @@ -69,6 +73,15 @@ resource "env0_variable_set" "project_scope_example" {
format = "text"
}
}
resource "env0_variable_set_assignment" "assignment" {
scope = "environment"
scope_id = data.env0_environment.id
set_ids = [
env0_variable_set.project_scope_example.id,
env0_variable_set.organization_scope_example.id,
]
}
```

<!-- schema generated by tfplugindocs -->
Expand Down
26 changes: 26 additions & 0 deletions docs/resources/variable_set_assignment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "env0_variable_set_assignment Resource - terraform-provider-env0"
subcategory: ""
description: |-
---

# env0_variable_set_assignment (Resource)





<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `scope` (String) the resource(scope) type to assign to. Valid values: 'template', 'environment', 'module', 'organization', 'project', 'deployment'
- `scope_id` (String) the resource(scope)id (e.g. template id)
- `set_ids` (List of String) list of variable sets

### Read-Only

- `id` (String) The ID of this resource.

0 comments on commit 44768b3

Please sign in to comment.