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 23, 2023
1 parent 8b06996 commit f2dfaa1
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 2 deletions.
62 changes: 62 additions & 0 deletions docs/resources/workflow_trigger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "env0_workflow_trigger Resource - terraform-provider-env0"
subcategory: ""
description: |-
cannot be used with env0workflowtriggers
---

# env0_workflow_trigger (Resource)

cannot be used with env0_workflow_triggers

## Example Usage

```terraform
data "env0_project" "default" {
name = "Default Organization Project"
}
resource "env0_template" "template" {
name = "Template for environment resource"
type = "terraform"
repository = "https://github.com/env0/templates"
path = "misc/null-resource"
terraform_version = "0.15.1"
}
resource "env0_environment" "the_trigger" {
force_destroy = true
name = "the_trigger"
project_id = data.env0_project.default.id
template_id = env0_template.template.id
approve_plan_automatically = true
}
resource "env0_environment" "downstream_environment" {
force_destroy = true
name = "downstream_environment"
project_id = data.env0_project.default.id
template_id = env0_template.template.id
approve_plan_automatically = true
}
resource "env0_workflow_trigger" "trigger_link" {
environment_id = env0_environment.the_trigger.id
downstream_environment_id = env0_environment.downstream_environment.id
}
```

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

### Required

- `downstream_environment_id` (String) environment to trigger
- `environment_id` (String) id of the source environment

### Read-Only

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


4 changes: 2 additions & 2 deletions docs/resources/workflow_triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "env0_workflow_triggers Resource - terraform-provider-env0"
subcategory: ""
description: |-
cannot be used with env0workflowtrigger
---

# env0_workflow_triggers (Resource)


cannot be used with env0_workflow_trigger

## Example Usage

Expand Down

0 comments on commit f2dfaa1

Please sign in to comment.