From fc839f054f160fbd63b3f0b20f9d6b3264b671c5 Mon Sep 17 00:00:00 2001 From: update generated docs action Date: Thu, 19 Jan 2023 13:44:15 +0000 Subject: [PATCH] Update docs --- docs/resources/custom_flow_assignment.md | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 docs/resources/custom_flow_assignment.md diff --git a/docs/resources/custom_flow_assignment.md b/docs/resources/custom_flow_assignment.md new file mode 100644 index 00000000..5e164edb --- /dev/null +++ b/docs/resources/custom_flow_assignment.md @@ -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 + +### 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. + +