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 Mar 7, 2024
1 parent 7ec91d0 commit 8abc98d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 4 additions & 7 deletions docs/data-sources/agent_values.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@ description: |-
## Example Usage

```terraform
resource "env0_project" "project" {
name = "project"
data "env0_agent_values" "agent_values" {
agent_key = "pr12"
}
data "env0_agents" "agents" {}
resource "env0_agent_project_assignment" "gent_project_assignment" {
agent_id = data.env0_agents.agents.0.agent_key
project_id = env0_project.project.id
output "values" {
value = data.env0_agent_values.agent_values.values
}
```

Expand Down
11 changes: 7 additions & 4 deletions docs/data-sources/agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ description: |-
## Example Usage

```terraform
data "env0_agent_values" "agent_values" {
agent_key = "pr12"
resource "env0_project" "project" {
name = "project"
}
output "values" {
value = data.env0_agent_values.agent_values.values
data "env0_agents" "agents" {}
resource "env0_agent_project_assignment" "gent_project_assignment" {
agent_id = data.env0_agents.agents.0.agent_key
project_id = env0_project.project.id
}
```

Expand Down

0 comments on commit 8abc98d

Please sign in to comment.