Skip to content

cloudfront functionの追加 subpageへのアクセスをrootにリダイレクト #18

cloudfront functionの追加 subpageへのアクセスをrootにリダイレクト

cloudfront functionの追加 subpageへのアクセスをrootにリダイレクト #18

Workflow file for this run

name: ci-infra
on:
pull_request:
branches: [dev]
paths: 'terraform/**'
workflow_dispatch:
jobs:
plan:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_DEV_ACCOUNT_ID }}:role/aws-identity-providers-federation-github-actions
role-session-name: github-actions-dev
aws-region: ap-northeast-1
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
- name: Terraform Init
run: terraform init
working-directory: ./terraform/environments/dev
- name: Terraform plan
run: terraform plan -var tetris_hostzone_subdomain=${{ secrets.TETRIS_FRONT_DOMAIN_DEV }}
working-directory: ./terraform/environments/dev