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 Jan 19, 2023
1 parent 05d7a17 commit fc839f0
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions docs/resources/custom_flow_assignment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "env0_custom_flow_assignment Resource - terraform-provider-env0"
subcategory: ""
description: |-
---

# env0_custom_flow_assignment (Resource)



## Example Usage

```terraform
data "env0_template" "my_template" {
name = "my-template"
}
resource "env0_project" "my_project" {
name = "my-project"
}
resource "env0_custom_flow" "my_custom_flow" {
name = "custom-flow"
repository = data.env0_template.my_template.repository
github_installation_id = data.env0_template.my_template.github_installation_id
path = "custom-flows/opa.yaml"
}
resource "env0_custom_flow_assignment" "my_assignment" {
scope_id = env0_project.my_project.id
template_id = env0_custom_flow.my_custom_flow.id
}
```

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

### Required

- `scope_id` (String) the id of the scope (E.g. project id)
- `template_id` (String) the id of the custom flow

### Optional

- `scope` (String) the type of the scope. Valid values: PROJECT. Default value: PROJECT

### Read-Only

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


0 comments on commit fc839f0

Please sign in to comment.