Upgrade to terraform 1.3.5
This commit is contained in:
@@ -13,7 +13,7 @@ environment:
|
||||
|
||||
steps:
|
||||
- name: terraform init
|
||||
image: hashicorp/terraform:1.1.8
|
||||
image: hashicorp/terraform:1.3.5
|
||||
commands:
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 755 ~/.ssh
|
||||
@@ -30,7 +30,7 @@ steps:
|
||||
from_secret: terraform-aws-secret-access-key
|
||||
|
||||
- name: terraform plan
|
||||
image: hashicorp/terraform:1.1.8
|
||||
image: hashicorp/terraform:1.3.5
|
||||
commands:
|
||||
- terraform plan $([[ $${DRONE_BUILD_EVENT} = cron ]] && echo "-detailed-exitcode") -out .tfplan
|
||||
environment:
|
||||
@@ -50,7 +50,7 @@ steps:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
image: hashicorp/terraform:1.1.8
|
||||
image: hashicorp/terraform:1.3.5
|
||||
commands:
|
||||
- terraform apply .tfplan
|
||||
environment:
|
||||
@@ -77,7 +77,7 @@ trigger:
|
||||
|
||||
steps:
|
||||
- name: format and generate docs
|
||||
image: hashicorp/terraform:1.1.8
|
||||
image: hashicorp/terraform:1.3.5
|
||||
commands:
|
||||
- apk add bash wget
|
||||
- wget -q https://github.com/terraform-docs/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-linux-amd64.tar.gz -O - | tar -xz terraform-docs -C /usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user