From 6637a7e374decacf6d39d285ef978f5db533e605 Mon Sep 17 00:00:00 2001 From: Daniel Flook Date: Wed, 15 Sep 2021 21:02:51 +0000 Subject: [PATCH] v1.14.0 --- README.md | 11 +++-------- action.yaml | 5 +++-- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 3960fd0..57517a6 100644 --- a/README.md +++ b/README.md @@ -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` @@ -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. @@ -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 }} diff --git a/action.yaml b/action.yaml index 0643727..10842fa 100644 --- a/action.yaml +++ b/action.yaml @@ -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 @@ -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: