Skip to content

Commit

Permalink
v1.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Sep 15, 2021
1 parent f7957ff commit 6637a7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ These input values must be the same as any `terraform-plan` for the same configu
Path to the terraform configuration to apply

- Type: string
- Required
- Optional
- Default: The action workspace

* `workspace`

Expand All @@ -50,7 +51,7 @@ These input values must be the same as any `terraform-plan` for the same configu

* `label`

An friendly name for the environment the terraform configuration is for.
A friendly name for the environment the terraform configuration is for.
This will be used in the PR comment for easy identification.

It must be the same as the `label` used in the corresponding `terraform-plan` command.
Expand Down Expand Up @@ -270,12 +271,6 @@ These input values must be the same as any `terraform-plan` for the same configu
For example:
```yaml
env:
TERRAFORM_PRE_RUN: |
# Install latest Azure CLI
curl -skL https://aka.ms/InstallAzureCLIDeb | bash
# Install postgres client
apt-get install -y --no-install-recommends postgresql-client
TERRAFORM_HTTP_CREDENTIALS: |
example.com=dflook:${{ secrets.HTTPS_PASSWORD }}
github.com/dflook/terraform-github-actions.git=dflook-actions:${{ secrets.ACTIONS_PAT }}
Expand Down
5 changes: 3 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ author: Daniel Flook
inputs:
path:
description: Path to the terraform configuration
required: true
required: false
default: .
workspace:
description: Name of the terraform workspace
required: false
Expand Down Expand Up @@ -48,7 +49,7 @@ inputs:

runs:
using: docker
image: docker://danielflook/terraform-github-actions@sha256:b62775ff029cad107891a59d535448e31d81dc0b65cdd6b51c422ad7c62ab7e3
image: docker://danielflook/terraform-github-actions@sha256:182bd125c524cdabb9f92f12edeffaa897e884a97979e44e1cc67e7fa30bdd86
entrypoint: /entrypoints/apply.sh

branding:
Expand Down

0 comments on commit 6637a7e

Please sign in to comment.