diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..f2ccae1 --- /dev/null +++ b/.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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1c99dc1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.terraform/ diff --git a/README.md b/README.md index f6a0767..54b5cbd 100644 --- a/README.md +++ b/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.