Releases: gruntwork-io/pipelines-execute
v4.0.0
What's Changed
- Use env.PIPELINES_CLI_VERSION by @Resonance1584 in #27
Full Changelog: v3.1.6...v4.0.0
v3.1.6
What's Changed
- Chores: Variable name consistency & Strip control chars by @ZachGoldberg in #21
Full Changelog: v3.1.5...v3.1.6
v3.1.5
What's Changed
- chore: Adding dependabot.yml by @yhakbar in #25
- Bump dsaltares/fetch-gh-release-asset from 1.1.1 to 1.1.2 by @dependabot in #26
New Contributors
- @dependabot made their first contribution in #26
Full Changelog: v3.1.4...v3.1.5
v3.1.4
v3.1.3
v3.1.2
What's Changed
This makes it so that users without a .mise.toml in the root of their infrastructure-live directory will still have one generated for them as a fallback to avoid failure.
Full Changelog: v3.1.1...v3.1.2
v3.1.1
What's Changed
- set mode on check-msv by @ZachGoldberg in #17
- Fix plan output multiline by @Resonance1584 in #18
- set correct binary for tfplan parsing by @ZachGoldberg in #19
- set formatted plan output as multiline by @ZachGoldberg in #20
New Contributors
- @Resonance1584 made their first contribution in #18
Full Changelog: v3.1.0...v3.1.1
v3.1.0
What's Changed
- feat: add outputs from pipelines execute by @ZachGoldberg in #16
Full Changelog: v3.0.0...v3.1.0
v3.0.0
Changes of Note
- DEV-114: OpenTofu support by @ZachGoldberg in #10
Version 3.x includes semi-breaking changes to 2.x
v3.x now defaults to OpenTofu. This means if your tf_version is pinned to an older version, e.g. v1.5.7 and you migrate to pipelines-execute v3.x your pipelines will break, as there is no OpenTofu 1.5.7. See the migration guide below for more details and examples.
Migration Guide
If you wish to use OpenTofu
In pipelines-execute version 3.x we default to OpenTofu. The recommended approach to managing the version of OpenTofu and Terragrunt you use is to leverage mise.
For example:
[tools]
terragrunt = "0.55.16"
opentofu = "1.6.2"If you'd like to continue to use inputs to this action to drive versions, leverage the generate_mise_toml input to generate a desired .mise.toml based on the tf_version and tg_version inputs.
If you wish to use Terraform
In v3.x pipelines-execute includes a new configuration parameter -- tf_binary. tf_binary takes one of two values, opentofu and terraform. If you wish to continue using Terraform, you have to manually pass in tf_binary: terraform everywhere you call pipelines-execute.
Example:
- name: Run pipelines-execute
uses: gruntwork-io/[email protected]
with:
token: ${{ inputs.gruntwork_code_access_token }}
tf_binary: terraform
pipelines_cli_version: ${{ steps.bootstrap.outputs.pipelines_cli_version }}
working_directory: "${{ steps.bootstrap.outputs.working_directory }}/_global/account-baseline"
terragrunt_command: ${{ steps.bootstrap.outputs.terragrunt_command }}
infra_live_repo: '.'
infra_live_directory: '.'
infra_live_repo_branch: ${{ steps.gruntwork_context.outputs.branch }}
gruntwork_config: "${{ steps.gruntwork_context.outputs.gruntwork_config }}"If you'd like to have the action generate the appropriate .mise.toml, you can set the input mentioned above:
- name: Run pipelines-execute
uses: gruntwork-io/[email protected]
with:
token: ${{ inputs.gruntwork_code_access_token }}
tf_binary: terraform
generate_mise_toml: 'true'
tf_version: ${{ steps.bootstrap.outputs.terraform_version }}
tg_version: ${{ steps.bootstrap.outputs.terragrunt_version }}
pipelines_cli_version: ${{ steps.bootstrap.outputs.pipelines_cli_version }}
working_directory: "${{ steps.bootstrap.outputs.working_directory }}/_global/account-baseline"
terragrunt_command: ${{ steps.bootstrap.outputs.terragrunt_command }}
infra_live_repo: '.'
infra_live_directory: '.'
infra_live_repo_branch: ${{ steps.gruntwork_context.outputs.branch }}
gruntwork_config: "${{ steps.gruntwork_context.outputs.gruntwork_config }}"What's Changed
- DEV-114: OpenTofu support by @ZachGoldberg in #10
- feat: support new gruntwork config file path by @ZachGoldberg in #12
- Making
.mise.tomlgeneration optional by @yhakbar in #13 - chore: pass through deploy branch name by @ZachGoldberg in #14
- Only use terraform of we're explicitly told to do so by @ZachGoldberg in #15
New Contributors
- @ZachGoldberg made their first contribution in #10
Full Changelog: v2.1.1...v3.0.0
v3.0.0-beta5
What's Changed
- Only use terraform of we're explicitly told to do so by @ZachGoldberg in #15
Full Changelog: v3.0.0-beta4...v3.0.0-beta5