Skip to content

add federated credentials #86

add federated credentials

add federated credentials #86

Workflow file for this run

name: test
on:
push:
paths:
- infra/**
schedule:
- cron: "00 00 * * 3"
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest]
terraform-version: [1.9.8]
runs-on: ${{ matrix.platform }}
environment: ci
env:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
ARM_USE_OIDC: ${{secrets.ARM_USE_OIDC}}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: ${{ matrix.terraform-version }}
- uses: terraform-linters/setup-tflint@v3
name: Setup TFLint
with:
tflint_version: v0.44.1
- name: tfsec
uses: aquasecurity/tfsec-action@v1.0.0
with:
version: latest
- name: Run CI test
run: |
cd infra
make ci-test