mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 05:01:55 +03:00
bump terraform version in jenkins
This commit is contained in:
@@ -45,11 +45,11 @@ rm -f get-pip.py
|
||||
pip install awscli
|
||||
|
||||
# install terraform
|
||||
TERRAFORM_VERSION="0.11.7"
|
||||
TERRAFORM_VERSION="0.12.18"
|
||||
wget -q https://releases.hashicorp.com/terraform/$${TERRAFORM_VERSION}/terraform_$${TERRAFORM_VERSION}_linux_amd64.zip \
|
||||
&& unzip -o terraform_$${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/local/bin \
|
||||
&& rm terraform_$${TERRAFORM_VERSION}_linux_amd64.zip
|
||||
|
||||
# clean up
|
||||
apt-get clean
|
||||
rm terraform_0.7.7_linux_amd64.zip
|
||||
rm terraform_0.12.18_linux_amd64.zip
|
||||
|
||||
@@ -28,7 +28,7 @@ variable "JENKINS_VERSION" {
|
||||
}
|
||||
|
||||
variable "TERRAFORM_VERSION" {
|
||||
default = "0.11.7"
|
||||
default = "0.12.18"
|
||||
}
|
||||
|
||||
variable "APP_INSTANCE_COUNT" {
|
||||
|
||||
Reference in New Issue
Block a user