mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-20 00:23:46 +01:00
Move env vars into env section
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -8,6 +8,12 @@ services:
|
|||||||
rvm:
|
rvm:
|
||||||
- 2.4.2
|
- 2.4.2
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- AWS_REGION='us-east-1'
|
||||||
|
- TF_VAR_region=${AWS_REGION}
|
||||||
|
- TF_WARN_OUTPUT_ERRORS=1
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- echo "before_install"
|
- echo "before_install"
|
||||||
|
|
||||||
@@ -17,11 +23,6 @@ install:
|
|||||||
- bundle install
|
- bundle install
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo 'before_script'
|
|
||||||
- export AWS_REGION='us-east-1'
|
|
||||||
- export TF_VAR_region=${AWS_REGION}
|
|
||||||
- echo "using AWS_REGION=${AWS_REGION}"
|
|
||||||
- export TF_WARN_OUTPUT_ERRORS=1
|
|
||||||
- export LATEST_TERRAFORM_VERSION=$(curl -s https://api.github.com/repos/hashicorp/terraform/releases/latest | grep tag_name | cut -d '"' -f 4 | cut -c2-)
|
- export LATEST_TERRAFORM_VERSION=$(curl -s https://api.github.com/repos/hashicorp/terraform/releases/latest | grep tag_name | cut -d '"' -f 4 | cut -c2-)
|
||||||
- curl --silent --output terraform.zip https://releases.hashicorp.com/terraform/${LATEST_TERRAFORM_VERSION}/terraform_${LATEST_TERRAFORM_VERSION}_linux_amd64.zip
|
- curl --silent --output terraform.zip https://releases.hashicorp.com/terraform/${LATEST_TERRAFORM_VERSION}/terraform_${LATEST_TERRAFORM_VERSION}_linux_amd64.zip
|
||||||
- sha256sum terraform.zip | grep "84ccfb8e13b5fce63051294f787885b76a1fedef6bdbecf51c5e586c9e20c9b7"
|
- sha256sum terraform.zip | grep "84ccfb8e13b5fce63051294f787885b76a1fedef6bdbecf51c5e586c9e20c9b7"
|
||||||
|
|||||||
Reference in New Issue
Block a user