We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0bdcad commit f96217bCopy full SHA for f96217b
1 file changed
hcl-actions-template.yaml
@@ -9,7 +9,14 @@ spec:
9
type: service
10
11
steps:
12
- # 1️⃣ Read both .tf files
+ # 1️⃣ Copy everything in the same directory into the workspace
13
+ - id: fetch
14
+ name: Fetch template directory
15
+ action: fetch:template
16
+ input:
17
+ url: ./
18
+
19
+ # 2️⃣ Read both .tf files
20
- id: readA
21
name: Read base HCL file
22
action: fs:read
@@ -22,15 +29,15 @@ spec:
29
input:
23
30
path: ./override.tf
24
31
25
- # 2️⃣ Merge them
32
+ # 3️⃣ Merge them
26
33
- id: merge
27
34
name: Merge HCL files
28
35
action: hcl:merge
36
37
aSourceContent: ${{ steps.readA.output.content }}
38
bSourceContent: ${{ steps.readB.output.content }}
39
- # 3️⃣ Write result
40
+ # 4️⃣ Write result
41
- id: write
42
name: Write merged HCL
43
action: fs:write
0 commit comments