Skip to content

Commit 3d2ec09

Browse files
author
update generated docs action
committed
Update docs
1 parent 89bd6ef commit 3d2ec09

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

docs/resources/custom_flow.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,18 @@ data "env0_template" "github_template" {
2020
resource "env0_custom_flow" "custom_flow" {
2121
name = "Custom Flow"
2222
repository = data.env0_template.github_template.repository
23-
github_installation_id = data.env0_template.github_template.github_installation_id
24-
path = "custom-flows/opa.yaml"
23+
github_installation_id = data.env0_template.github_template.github_installation_id // The installation ID is taken from an existing authorized template
24+
path = "custom-flows/my-custom-flow.yaml"
25+
}
26+
27+
28+
// Self Hosted VCS
29+
resource "env0_custom_flow" "ghe_custom_flow" {
30+
name = "GHE Custom Flow"
31+
revision = "my-revision"
32+
repository = "https://mycompany.github.com/myorg/myrepo"
33+
path = "custom-flows/my-custom-flow.yaml"
34+
is_github_enterprise = true
2535
}
2636
```
2737

docs/resources/custom_flow_assignment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ resource "env0_custom_flow" "my_custom_flow" {
2525
name = "custom-flow"
2626
repository = data.env0_template.my_template.repository
2727
github_installation_id = data.env0_template.my_template.github_installation_id
28-
path = "custom-flows/opa.yaml"
28+
path = "custom-flows/my-custom-flow.yaml"
2929
}
3030
3131
resource "env0_custom_flow_assignment" "my_assignment" {

0 commit comments

Comments
 (0)