mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Merge pull request #1567 from GSA/fix-terraform-actions
Update Terraform installation and configuration
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
@@ -20,6 +20,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
@@ -22,6 +22,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
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ module "egress-space" {
|
|||||||
cf_restricted_space_name = local.cf_space_name
|
cf_restricted_space_name = local.cf_space_name
|
||||||
deployers = [
|
deployers = [
|
||||||
var.cf_user,
|
var.cf_user,
|
||||||
"steven.reilly@gsa.gov"
|
"carlo.costino@gsa.gov"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ module "egress-space" {
|
|||||||
cf_restricted_space_name = local.cf_space_name
|
cf_restricted_space_name = local.cf_space_name
|
||||||
deployers = [
|
deployers = [
|
||||||
var.cf_user,
|
var.cf_user,
|
||||||
"steven.reilly@gsa.gov",
|
|
||||||
"carlo.costino@gsa.gov"
|
"carlo.costino@gsa.gov"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ module "egress-space" {
|
|||||||
cf_restricted_space_name = local.cf_space_name
|
cf_restricted_space_name = local.cf_space_name
|
||||||
deployers = [
|
deployers = [
|
||||||
var.cf_user,
|
var.cf_user,
|
||||||
"steven.reilly@gsa.gov",
|
|
||||||
"carlo.costino@gsa.gov"
|
"carlo.costino@gsa.gov"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user