Skip to content

Commit

Permalink
LIB-80: Replace tfenv and tgswitch with mise (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
arsci authored Apr 24, 2024
1 parent 5d787d2 commit c4000ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
env: &env
environment:
GRUNTWORK_INSTALLER_VERSION: v0.0.36
MODULE_CI_VERSION: v0.53.3
TFENV_VERSION: v2.2.2
MODULE_CI_VERSION: v0.55.1
MISE_VERSION: v2024.4.0
TERRAFORM_VERSION: 1.0.11
TERRAGRUNT_VERSION: v0.36.1
PACKER_VERSION: NONE
GOLANG_VERSION: "1.18"
GO111MODULE: auto
# Since we are running in docker, USER doesn't get set, so we need to set it explicitly
USER: circleci
# Mise ASDF defaults to using main.tf to determine the terraform version to use, so we need to
# override this to use the .terraform-version file instead.
ASDF_HASHICORP_TERRAFORM_VERSION_FILE: .terraform-version

defaults: &defaults
resource_class: medium
Expand Down Expand Up @@ -58,7 +61,7 @@ jobs:
gruntwork-install --module-name "gruntwork-module-circleci-helpers" --repo "https://github.com/gruntwork-io/terraform-aws-ci" --tag "${MODULE_CI_VERSION}"
gruntwork-install --module-name "git-helpers" --repo "https://github.com/gruntwork-io/terraform-aws-ci" --tag "${MODULE_CI_VERSION}"
configure-environment-for-gruntwork-module \
--tfenv-version ${TFENV_VERSION} \
--mise-version ${MISE_VERSION} \
--terraform-version ${TERRAFORM_VERSION} \
--terragrunt-version ${TERRAGRUNT_VERSION} \
--packer-version ${PACKER_VERSION} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ variables:
default: us-east-1

- name: TerraformVersion
description: Used by the tfenv tool to automatically select which version of Terraform to use.
description: Used by the mise tool to automatically select which version of Terraform to use.
default: 1.0.11

- name: TerragruntVersion
description: Used by the tgswitch tool to automatically select which version of Terragrunt to use.
description: Used by the mise tool to automatically select which version of Terragrunt to use.
default: v0.36.1


Expand Down

0 comments on commit c4000ca

Please sign in to comment.