Skip to content

Commit

Permalink
v1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Oct 30, 2021
1 parent 2397d2d commit 6151e75
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
27 changes: 21 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ These input values must be the same as any `terraform-plan` for the same configu

* `path`

Path to the terraform configuration to apply
Path to the terraform root module to apply

- Type: string
- Optional
Expand Down Expand Up @@ -121,19 +121,26 @@ These input values must be the same as any `terraform-plan` for the same configu
- Type: string
- Optional

* `parallelism`
* `replace`

Limit the number of concurrent operations
List of resources to replace, one per line.

- Type: number
Only available with terraform versions that support replace (v0.15.2 onwards).

```yaml
with:
replace: |
kubernetes_secret.tls_cert_public
kubernetes_secret.tls_cert_private
```

- Type: string
- Optional
- Default: 10

* `target`

List of resources to apply, one per line.
The apply operation will be limited to these resources and their dependencies.
This only takes effect if auto_approve is also set to `true`.

```yaml
with:
Expand All @@ -155,6 +162,14 @@ These input values must be the same as any `terraform-plan` for the same configu
- Optional
- Default: false

* `parallelism`

Limit the number of concurrent operations

- Type: number
- Optional
- Default: The terraform default (10)

* ~~`var`~~

> :warning: **Deprecated**: Use the `variables` input instead.
Expand Down
8 changes: 6 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,17 @@ inputs:
description: Automatically approve and apply plan
default: false
target:
description: List of targets to apply against, one per line
description: List of resources to target for the apply, one per line
required: false
default: ""
replace:
description: List of resources to replace if an update is required, one per line
required: false
default: ""

runs:
using: docker
image: docker://danielflook/terraform-github-actions@sha256:cc54d267707eba1936ab4665441c98abc476ff38da89456211bf287d11798820
image: docker://danielflook/terraform-github-actions@sha256:9df1c05b684e3efe287162baa09a1db81a50ba94a295e2bdf1f8a375bf2bbd3f
entrypoint: /entrypoints/apply.sh

branding:
Expand Down

0 comments on commit 6151e75

Please sign in to comment.