Bot releases are hidden (Show)
Published by dflook almost 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.18.0
to use exactly this release@v1.18
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionA new replace
input for dflook/terraform-plan and dflook/terraform-apply
This instructs terraform to replace the specified resources, and is available with terraform versions that support replace (v0.15.2 onwards).
with:
replace: |
random_password.database
A target
input for dflook/terraform-plan to match dflook/terraform-apply
target
limits the plan to the specified resources and their dependencies. This change removes the restriction that target
can only be used with auto_approve
.
with:
target: |
kubernetes_secret.tls_cert_public
kubernetes_secret.tls_cert_private
Published by dflook almost 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.17.3
to use exactly this release@v1.17
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionPublished by dflook about 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.17.2
to use exactly this release@v1.17
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionterraform plan
output that was missing from the workflow logPublished by dflook about 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.17.1
to use exactly this release@v1.17
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionFix ownership of files created in runner mounted directories
As the container is run as root, it can cause issues when root owned files are leftover that the runner can't cleanup.
This would only affect self-hosted, non-ephemeral, non-root runners.
Published by dflook about 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.17.0
to use exactly this release@v1.17
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionvariables
and var_file
support for remote operations in Terraform Cloud/Enterprise.
The Terraform CLI & Terraform Cloud/Enterprise do not support using variables or variable files with remote plans or applies.
We can do better. variables
and var_file
input variables for the plan, apply & check actions now work, with the expected behavior.
Published by dflook about 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.16.0
to use exactly this release@v1.16
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versiondflook/terraform-plan has gained two new outputs:
json_plan_path
is a path to the generated plan in a JSON format filetext_plan_path
is a path to the generated plan in a human readable text fileThese paths are relative to the GitHub Actions workspace and can be read by other steps in the same job.
Published by dflook about 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.15.0
to use exactly this release@v1.15
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionActions that intentionally cause a build failure now set a failure-reason
output to enable safely responding to those failures.
Possible failure reasons are:
Published by dflook about 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.14.0
to use exactly this release@v1.14
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionpath
input variable is now optional, defaulting to the Action workspace.Published by dflook about 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.13.0
to use exactly this release@v1.13
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionTERRAFORM_PRE_RUN
environment variable for customising the environment before running terraform.
It can be set to a command that will be run prior to terraform init
.
The runtime environment for these actions is subject to change in minor version releases.
If using this environment variable, specify the minor version of the action to use.
The runtime image is currently based on debian:buster
, with the command run using bash -xeo pipefail
.
For example:
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
Published by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.12.0
to use exactly this release@v1.12
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionPublished by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.11.0
to use exactly this release@v1.11
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionadd_github_comment
input for dflook/terraform-plan may now be set to changes-only
. This will only add a PR commentbackend_config
, backend_config_file
, var_file
& target
inputs to use separate lines for multiple values. Multiple values may still be separated by commas if preferred.Published by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.10.0
to use exactly this release@v1.10
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionTERRAFORM_HTTP_CREDENTIALS
environment variable for configuring the username and password to use for
git::https://
& https://
module sources.
See action documentation for details, e.g. terraform-plan
Published by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.9.3
to use exactly this release@v1.9
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionPublished by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.9.2
to use exactly this release@v1.9
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionPublished by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.9.1
to use exactly this release@v1.9
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionPublished by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.9.0
to use exactly this release@v1.9
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionvariables
input for actions that use terraform input variables.
This value should be valid terraform syntax - like a variable definition file.
Variable values set in variables
override any given in var_file
s.
See action documentation for details, e.g. terraform-plan.
The var
input has been deprecated due to the following limitations:
var
- number, bool and string.var
will be overridden by values contained in var_file
svariables
is the preferred way to set input variables.
Published by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.8.0
to use exactly this release@v1.8
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionTERRAFORM_CLOUD_TOKENS
environment variable for use with Terraform Cloud/Enterprise etc
when using module registries or a remote
backend.
TERRAFORM_SSH_KEY
environment variable to configure an SSH private key to use for
Git Repository module sources.
See individual actions for details, e.g. terraform-validate.
Published by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.7.0
to use exactly this release@v1.7
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionpull_request_target
eventpull_request_review
eventPublished by dflook over 3 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.6.0
to use exactly this release@v1.6
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major versionPR comments use a one line summary of the terraform output, with the full output in a collapsable pane.
If a plan is short the output is shown by default. This can be controlled with the TF_PLAN_COLLAPSE_LENGTH
environment
variable for the dflook/terraform-plan action.
Published by dflook almost 4 years ago
All the terraform actions in this repository are released as one.
Use the actions as part of a GitHub Actions workflow, e.g:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dflook/[email protected]
with:
path: my-terraform-config
You can specify an action version as:
@v1.5.2
to use exactly this release@v1.5
to use the latest patch release for this specific minor version@v1
to use the latest patch release for this specific major version