mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-11 23:53:52 -05:00
Update Terraform installation and configuration
This changeset accounts for having to explicitly install Terraform and updates our user configuration in several environments to account for team member changes. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
8
.github/workflows/deploy-demo.yml
vendored
8
.github/workflows/deploy-demo.yml
vendored
@@ -16,6 +16,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for changes to Terraform
|
- name: Check for changes to Terraform
|
||||||
id: changed-terraform-files
|
id: changed-terraform-files
|
||||||
uses: tj-actions/changed-files@v45
|
uses: tj-actions/changed-files@v45
|
||||||
|
|||||||
8
.github/workflows/deploy-prod.yml
vendored
8
.github/workflows/deploy-prod.yml
vendored
@@ -16,6 +16,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for changes to Terraform
|
- name: Check for changes to Terraform
|
||||||
id: changed-terraform-files
|
id: changed-terraform-files
|
||||||
uses: tj-actions/changed-files@v45
|
uses: tj-actions/changed-files@v45
|
||||||
|
|||||||
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@@ -21,6 +21,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for changes to Terraform
|
- name: Check for changes to Terraform
|
||||||
id: changed-terraform-files
|
id: changed-terraform-files
|
||||||
uses: tj-actions/changed-files@v45
|
uses: tj-actions/changed-files@v45
|
||||||
|
|||||||
24
.github/workflows/drift.yml
vendored
24
.github/workflows/drift.yml
vendored
@@ -15,6 +15,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for drift
|
- name: Check for drift
|
||||||
uses: dflook/terraform-check@v1
|
uses: dflook/terraform-check@v1
|
||||||
env:
|
env:
|
||||||
@@ -35,6 +43,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: 'production'
|
ref: 'production'
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for drift
|
- name: Check for drift
|
||||||
uses: dflook/terraform-check@v1
|
uses: dflook/terraform-check@v1
|
||||||
env:
|
env:
|
||||||
@@ -55,6 +71,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: 'production'
|
ref: 'production'
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for drift
|
- name: Check for drift
|
||||||
uses: dflook/terraform-check@v1
|
uses: dflook/terraform-check@v1
|
||||||
env:
|
env:
|
||||||
|
|||||||
8
.github/workflows/terraform-demo.yml
vendored
8
.github/workflows/terraform-demo.yml
vendored
@@ -18,6 +18,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Terraform format
|
- name: Terraform format
|
||||||
id: format
|
id: format
|
||||||
run: terraform fmt -check
|
run: terraform fmt -check
|
||||||
|
|||||||
8
.github/workflows/terraform-production.yml
vendored
8
.github/workflows/terraform-production.yml
vendored
@@ -18,6 +18,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Terraform format
|
- name: Terraform format
|
||||||
id: format
|
id: format
|
||||||
run: terraform fmt -check
|
run: terraform fmt -check
|
||||||
|
|||||||
8
.github/workflows/terraform-staging.yml
vendored
8
.github/workflows/terraform-staging.yml
vendored
@@ -18,6 +18,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Terraform format
|
- name: Terraform format
|
||||||
id: format
|
id: format
|
||||||
run: terraform fmt -check
|
run: terraform fmt -check
|
||||||
|
|||||||
Reference in New Issue
Block a user