mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-18 01:27:55 +01:00
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:
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user