Skip to content

Commit

Permalink
Validate tf files on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
int128 committed May 9, 2019
1 parent cc9dabd commit 7c41838
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,12 @@
version: "2"
jobs:
build:
docker:
- image: hashicorp/terraform:light
environment:
AWS_REGION: us-west-2
steps:
- checkout
- run: terraform init
- run: terraform fmt -check=true -diff=true
- run: terraform validate -var kops_cluster_name=hello.k8s.local -var kubernetes_ingress_domain=hello.example.com
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.terraform/
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# terraform-aws-kops-alb
# terraform-aws-kops-alb [![CircleCI](https://circleci.com/gh/int128/terraform-aws-kops-alb.svg?style=shield)](https://circleci.com/gh/int128/terraform-aws-kops-alb)

This is a Terraform module which provides AWS ALB and Route53 for publishing services via nginx-ingress on kops.

Expand Down

0 comments on commit 7c41838

Please sign in to comment.