Skip to content

Fix deployment when create_elb false #42

Fix deployment when create_elb false

Fix deployment when create_elb false #42

Workflow file for this run

name: Terraform CI
on:
pull_request:
branches:
- master
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Run a Terraform init
uses: docker://hashicorp/terraform:light
with:
entrypoint: terraform
args: init
- name: Run a Terraform validate
uses: docker://hashicorp/terraform:light
env:
AWS_DEFAULT_REGION: eu-east-1
with:
entrypoint: terraform
args: validate
- name: Run a Terraform fmt
uses: docker://hashicorp/terraform:light
with:
entrypoint: terraform
args: fmt --recursive -check=true --diff