@@ -7,7 +7,7 @@ permissions:
7
7
contents : read
8
8
9
9
jobs :
10
- plan :
10
+ s3-backend :
11
11
runs-on : ubuntu-24.04
12
12
name : Plan with early eval
13
13
env :
@@ -19,34 +19,69 @@ jobs:
19
19
with :
20
20
persist-credentials : false
21
21
22
- - name : terraform plan
22
+ - name : tofu plan
23
23
uses : ./tofu-plan
24
24
with :
25
- path : tests/workflows/test-plan/ early-eval/tofu
25
+ path : tests/workflows/test-early-eval/s3
26
26
add_github_comment : false
27
27
variables : |
28
28
passphrase = "tofuqwertyuiopasdfgh"
29
29
30
30
- name : Create workspace
31
31
uses : ./tofu-new-workspace
32
32
with :
33
- path : tests/workflows/test-plan/ early-eval/tofu
33
+ path : tests/workflows/test-early-eval/s3
34
34
workspace : test-workspace
35
35
variables : |
36
36
passphrase = "tofuqwertyuiopasdfgh"
37
37
38
38
- name : Create workspace again
39
39
uses : ./tofu-new-workspace
40
40
with :
41
- path : tests/workflows/test-plan/ early-eval/tofu
41
+ path : tests/workflows/test-early-eval/s3
42
42
workspace : test-workspace
43
43
variables : |
44
44
passphrase = "tofuqwertyuiopasdfgh"
45
45
46
46
- name : Destroy workspace
47
47
uses : ./tofu-destroy-workspace
48
48
with :
49
- path : tests/workflows/test-plan/ early-eval/tofu
49
+ path : tests/workflows/test-early-eval/s3
50
50
workspace : test-workspace
51
51
variables : |
52
52
passphrase = "tofuqwertyuiopasdfgh"
53
+
54
+ remote-backend :
55
+ runs-on : ubuntu-24.04
56
+ name : Remote plan with early eval
57
+ env :
58
+ TERRAFORM_CLOUD_TOKENS : dflook.scalr.io=${{ secrets.SCALR_TOKEN }}
59
+ steps :
60
+ - name : Checkout
61
+ uses : actions/checkout@v4
62
+ with :
63
+ persist-credentials : false
64
+
65
+ - name : Create workspace
66
+ uses : ./tofu-new-workspace
67
+ with :
68
+ path : tests/workflows/test-early-eval/scalr
69
+ workspace : ${{ github.head_ref }}-early-eval
70
+ variables : |
71
+ passphrase = "tofuqwertyuiopasdfgh"
72
+
73
+ - name : Create workspace again
74
+ uses : ./tofu-new-workspace
75
+ with :
76
+ path : tests/workflows/test-early-eval/scalr
77
+ workspace : ${{ github.head_ref }}-early-eval
78
+ variables : |
79
+ passphrase = "tofuqwertyuiopasdfgh"
80
+
81
+ - name : Destroy workspace
82
+ uses : ./tofu-destroy-workspace
83
+ with :
84
+ path : tests/workflows/test-early-eval/scalr
85
+ workspace : ${{ github.head_ref }}-early-eval
86
+ variables : |
87
+ passphrase = "tofuqwertyuiopasdfgh"
0 commit comments