Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

fmt, validate, planを並列実行する (#7) #8

fmt, validate, planを並列実行する (#7)

fmt, validate, planを並列実行する (#7) #8

Workflow file for this run

name: "Terraform apply"
on:
push:
branches:
- main
concurrency:
group: terraform
jobs:
apply:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.8.4"
- name: Terraform init
run: terraform init
env:
GOOGLE_BACKEND_CREDENTIALS: ${{ secrets.GOOGLE_BACKEND_CREDENTIALS }}
- name: Terraform apply
run: terraform apply -auto-approve
env:
GOOGLE_BACKEND_CREDENTIALS: ${{ secrets.GOOGLE_BACKEND_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}