Compare commits
2 Commits
7d6bcbe742
...
7094fa1cbf
| Author | SHA1 | Date | |
|---|---|---|---|
| 7094fa1cbf | |||
| 2377642bb5 |
10
.drone.yml
10
.drone.yml
@@ -15,7 +15,7 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: terraform init
|
- name: terraform init
|
||||||
image: hashicorp/terraform:1.1.8
|
image: hashicorp/terraform:1.3.5
|
||||||
commands:
|
commands:
|
||||||
- echo "$${CI_SSH_KEY}" | base64 -d > id_rsa
|
- echo "$${CI_SSH_KEY}" | base64 -d > id_rsa
|
||||||
- chmod 600 id_rsa
|
- chmod 600 id_rsa
|
||||||
@@ -29,7 +29,7 @@ steps:
|
|||||||
from_secret: terraform-aws-secret-access-key
|
from_secret: terraform-aws-secret-access-key
|
||||||
|
|
||||||
- name: terraform plan
|
- name: terraform plan
|
||||||
image: hashicorp/terraform:1.1.8
|
image: hashicorp/terraform:1.3.5
|
||||||
commands:
|
commands:
|
||||||
- terraform plan $([[ $${DRONE_BUILD_EVENT} = cron ]] && echo "-detailed-exitcode") -out .tfplan
|
- terraform plan $([[ $${DRONE_BUILD_EVENT} = cron ]] && echo "-detailed-exitcode") -out .tfplan
|
||||||
environment:
|
environment:
|
||||||
@@ -46,7 +46,7 @@ steps:
|
|||||||
- main
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
image: hashicorp/terraform:1.1.8
|
image: hashicorp/terraform:1.3.5
|
||||||
commands:
|
commands:
|
||||||
- terraform apply .tfplan
|
- terraform apply .tfplan
|
||||||
environment:
|
environment:
|
||||||
@@ -71,7 +71,7 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: format and generate docs
|
- name: format and generate docs
|
||||||
image: hashicorp/terraform:1.1.8
|
image: hashicorp/terraform:1.3.5
|
||||||
commands:
|
commands:
|
||||||
- apk add bash wget
|
- 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
|
- 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
|
||||||
@@ -81,6 +81,6 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 6568551142d52c579f103c5b82eb76b8dcdcbe7cc39ab467ce42b295d1865d2c
|
hmac: 31fe03c2cd0cd528698da1da29eba5be6fe33d8d32cafc4f2986156c6dc845ea
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user