You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ce/howto/custom-commands.mdx
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,11 @@ The value of `$DIGGER_OUT` defaults to `$RUNNER_TEMP/digger-out.log`; you can ch
40
40
41
41
## Overriding plan commands
42
42
43
+
<Note>
44
+
This is an advanced usecase if you want to specify an entirely custom command during plan and apply phases. If you only want to use
45
+
plan artefacts the easiest way would be to simply configure [plan artefacts persistence](/ce/howto/plan-artefacts) and you would not need to perform
46
+
a complete override of the plan and apply commands.
47
+
</Note>
43
48
You can add extra arguments to the plan command by setting the `extra_args` key in the `steps` section of the `plan` command.
44
49
45
50
However in some cases if you wish to override the plan command entirely you can do it by excluding the plan in the steps and having your command specified in the run like so:
Copy file name to clipboardExpand all lines: docs/ce/howto/plan-artefacts.mdx
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,25 @@
1
1
---
2
-
title: "Store plans in a Bucket"
2
+
title: "Plan artefacts"
3
3
---
4
4
5
+
Digger can be used to store plan artefacts during the plan phase and make them available for use during the apply phase. Once plan artefacts is configured and uploaded during the plan phase
6
+
it will automatically be used during the apply phase. Once one of the below artefacts is configured successfully there is no additional configuration needed on your end to achieve apply-time artefact reuse.
7
+
5
8
### Github
6
9
Digger can use Github Artifacts to store `terraform plan` outputs. In order to enable it you can set the following argument in digger_workflow.yml:
7
10
8
11
```
9
12
upload-plan-destination: github
10
13
```
11
14
15
+
<Warning>
16
+
Github plan artefacts as a destination is currently deprecated due to a change in Github API. For more information see [this issue](https://github.com/diggerhq/digger/issues/1702).
17
+
</Warning>
18
+
19
+
<Alert>
20
+
sadfasdf
21
+
</Alert>
22
+
12
23
### GCP
13
24
You can also configure plan outputs to be uploaded to GCP Buckets instead. This is handy in case you want your plan outputs to stay within your organisation's approved storage providers for security or compliance reasons.
0 commit comments