Skip to content

Misc-updates-2024

Misc-updates-2024 #13

Workflow file for this run

name: 'Terraform GitHub Actions'
on:
- pull_request
jobs:
terraform:
name: 'Terraform'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 1.10.1
tf_actions_subcommand: 'fmt'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Terraform Init'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 1.10.1
tf_actions_subcommand: 'init'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Terraform Validate'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 1.10.1
tf_actions_subcommand: 'validate'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AWS_DEFAULT_REGION: us-east-1
GOOGLE_REGION: us-central1
# - name: 'Terraform Plan'
# uses: hashicorp/terraform-github-actions@master
# with:
# tf_actions_version: 1.10.1
# tf_actions_subcommand: 'plan'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}