Skip to content

Reference/Create New Project by Name Rather than ID #207

Reference/Create New Project by Name Rather than ID

Reference/Create New Project by Name Rather than ID #207

Workflow file for this run

name: 'terraform'
# This workflow verifies that the Terraform configs are valid,
# without deploying any software or infrastructure.
# https://learn.hashicorp.com/tutorials/terraform/automate-terraform
on:
push:
paths-ignore:
- 'LICENSE'
- '**.md'
pull_request:
paths-ignore:
- 'LICENSE'
- '**.md'
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
env:
TF_IN_AUTOMATION: 1
TF_VERSION: ${{ matrix.tf }}
strategy:
matrix:
os: [ubuntu-latest]
tf: [1.3]
steps:
- name: Checkout from Github
uses: actions/checkout@v2
- name: Install Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: ${{ env.TF_VERSION }}
- name: Check Terraform formatting
id: fmt
run: terraform fmt
continue-on-error: true
- name: Initialize Terraform, Modules, and Plugins
id: init
run: terraform init -input=false
- name: Validate Terraform syntax
id: validate
run: terraform validate -no-color