forked from vhadianto/flowpipe-mod-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple.fp
42 lines (33 loc) · 772 Bytes
/
simple.fp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
pipeline "simple" {
param "name" {
default = var.my_name
}
description = "A simple pipeline with my name: ${var.my_name}"
step "transform" "echo" {
value = "Hello World ${param.name}"
output "echo_1" {
value = "echo 1"
}
output "echo_2" {
value = "echo 2"
}
}
output "val" {
value = step.transform.echo.value
}
}
pipeline "simple2" {
step "transform" "echo" {
value = "echo"
}
step "transform" "echo_2" {
value = "echo 2"
}
step "transform" "echo_3" {
depends_on = [step.transform.echo, step.transform.echo_2]
value = "echo 3"
}
output "val" {
value = step.transform.echo_3.value
}
}