Skip to content

Merge pull request #24 from SBatais/add-annotations #109

Merge pull request #24 from SBatais/add-annotations

Merge pull request #24 from SBatais/add-annotations #109

Workflow file for this run

name: 'Terraform GitHub Actions'
on:
- push
- 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: 0.13.0
tf_actions_subcommand: 'fmt'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Terraform Init'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.13.0
tf_actions_subcommand: 'init'
args: '-input=false'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Terraform Validate'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.13.0
tf_actions_subcommand: 'validate'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OS_REGION_NAME: eu-west-0
OS_AUTH_URL: OS_AUTH_URL='https://iam.eu-west-0.prod-cloud-ocb.orange-business.com/v3'