File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -204,12 +204,6 @@ terrahub configure -i demo_function -c component.template.variable -D -y
204
204
terrahub configure -i demo_function -c component.template.output -D -y
205
205
terrahub configure -i demo_function -c component.template.output.id.value=' ${google_cloudfunctions_function.demo_function.id}'
206
206
terrahub configure -i demo_function -c component.template.output.trigger_url.value=' ${google_cloudfunctions_function.demo_function.https_trigger_url}'
207
- terrahub configure -i demo_function -c build.env.variables.THUB_LAMBDA_ZIP=' demo.zip'
208
- terrahub configure -i demo_function -c build.env.variables.THUB_BUILD_PATH=' ../demo_object'
209
- terrahub configure -i demo_function -c build.env.variables.THUB_BUILD_OK=' true'
210
- terrahub configure -i demo_function -c build.phases.post_build.commands[0]=' echo "BUILD: Running post_build step"'
211
- terrahub configure -i demo_function -c build.phases.post_build.commands[1]=' rm ${THUB_BUILD_PATH}/${THUB_LAMBDA_ZIP}'
212
- terrahub configure -i demo_function -c build.phases.post_build.finally[0]=' echo "BUILD: post_build step successful"'
213
207
```
214
208
215
209
Your output should be similar to the one below:
@@ -237,9 +231,8 @@ Project: demo-terraform-automation-google
237
231
238
232
Run the following command in terminal:
239
233
``` shell
240
- terrahub build -i=demo_object && \
241
- terrahub run -a -y && \
242
- terrahub build -i=demo_function
234
+ terrahub build -i demo_object
235
+ terrahub run -a -y
243
236
```
244
237
245
238
Your output should be similar to the one below:
Original file line number Diff line number Diff line change @@ -37,16 +37,3 @@ component:
37
37
value : ' ${google_cloudfunctions_function.demo_function.id}'
38
38
trigger_url :
39
39
value : ' ${google_cloudfunctions_function.demo_function.https_trigger_url}'
40
- build :
41
- env :
42
- variables :
43
- THUB_LAMBDA_ZIP : demo.zip
44
- THUB_BUILD_PATH : ../demo_object
45
- THUB_BUILD_OK : true
46
- phases :
47
- post_build :
48
- commands :
49
- - ' echo "BUILD: Running post_build step"'
50
- - ' rm ${THUB_BUILD_PATH}/${THUB_LAMBDA_ZIP}'
51
- finally :
52
- - ' echo "BUILD: post_build step successful"'
You can’t perform that action at this time.
0 commit comments