diff --git a/.drone.yml b/.drone.yml index 58daf12..1f5223c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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