Skip to content

Commit

Permalink
v1.40.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Jan 10, 2024
1 parent 769e5a3 commit a96d199
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,24 @@ The [dflook/terraform-apply](https://github.com/dflook/terraform-github-actions/

- Type: boolean

* `plan_path`

This is the path to the generated plan in an opaque binary format.
The path is relative to the Actions workspace.

The plan can be used as the `plan_file` input to the [dflook/terraform-apply](https://github.com/dflook/terraform-github-actions/tree/main/terraform-apply) action.

Terraform plans often contain sensitive information, so this output should be treated with care.

- Type: string

* `json_plan_path`

This is the path to the generated plan in [JSON Output Format](https://www.terraform.io/docs/internals/json-format.html)
The path is relative to the Actions workspace.

Terraform plans often contain sensitive information, so this output should be treated with care.

- Type: string

* `text_plan_path`
Expand All @@ -323,20 +336,12 @@ The [dflook/terraform-apply](https://github.com/dflook/terraform-github-actions/
- Type: string

* `to_add`

The number of resources that would be added by this plan.

- Type: number

* `to_change`

The number of resources that would be changed by this plan.

- Type: number

* `to_destroy`
* `to_move`
* `to_import`

The number of resources that would be destroyed by this plan.
The number of resources that would be affected by each type of operation.

- Type: number

Expand Down
4 changes: 3 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ outputs:
description: The number of resources that would be changed by this plan
to_destroy:
description: The number of resources that would be destroyed by this plan
plan_path:
description: Path to a file in the workspace containing the generated plan in an opaque binary format.
text_plan_path:
description: Path to a file in the workspace containing the generated plan in human readable format.
json_plan_path:
Expand All @@ -72,7 +74,7 @@ outputs:

runs:
using: docker
image: docker://danielflook/terraform-github-actions@sha256:58b279738cab51c9bb4b8201afeff9e585ce72f9a30ee0490896ad8827e7e96b
image: docker://danielflook/terraform-github-actions@sha256:4c0a6f98ddafa03699d7fb059010f6b5f88d5a8903d1d2e66660ec799de9efad
entrypoint: /entrypoints/plan.sh

branding:
Expand Down

0 comments on commit a96d199

Please sign in to comment.