Switch Validate github action to use env vars (#718)

* Switch Validate github action to use env vars

* update changelog after release

* Update CHANGELOG.md

Co-Authored-By: Thierno IB. BARRY <ibrahima.br@gmail.com>

Co-authored-by: Thierno IB. BARRY <ibrahima.br@gmail.com>
This commit is contained in:
Max Williams
2020-01-30 12:27:35 +01:00
committed by GitHub
parent dd06c591b5
commit cca389abab
2 changed files with 6 additions and 1 deletions

View File

@@ -40,9 +40,13 @@ jobs:
env:
AWS_REGION: 'us-east-1'
TF_WARN_OUTPUT_ERRORS: 1
TF_VAR_vpc_id: 'vpc-123456'
TF_VAR_subnets: '["subnet-12345a"]'
TF_VAR_workers_ami_id: 'ami-123456'
TF_VAR_cluster_name: 'test_cluster'
run: |
terraform init
terraform validate -var "region=${AWS_REGION}" -var "vpc_id=vpc-123456" -var "subnets=[\"subnet-12345a\"]" -var "workers_ami_id=ami-123456" -var "cluster_ingress_cidrs=[]" -var "cluster_name=test_cluster"
terraform validate
- name: Validate Examples
run: |
for example in $(find examples -maxdepth 1 -mindepth 1 -type d); do

View File

@@ -10,6 +10,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
## [[v8.?.?](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v8.2.0...HEAD)] - 2020-xx-xx]
- Write your awesome change here (by @you)
- [CI] Switch `Validate` github action to use env vars (by @max-rocket-internet)
# History