Terraform-IaC/.woodpecker/deploy.yml

23 lines
474 B
YAML
Raw Normal View History

branches:
2022-12-03 03:27:37 +00:00
include: [main]
pipeline:
init:
image: hashicorp/terraform
environment:
2022-12-03 03:17:50 +00:00
- CODE_PATH=./hetzner/Projects/Development/landing-zone
commands:
2022-12-03 02:33:40 +00:00
- apk add make
2022-12-03 03:17:50 +00:00
- make init
2022-12-03 03:27:37 +00:00
when:
event: manual
2022-12-03 03:17:50 +00:00
apply:
image: hashicorp/terraform
environment:
- CODE_PATH=./hetzner/Projects/Development/landing-zone
secrets: [hetznerkey]
commands:
- apk add make
- make ${COMMAND}
2022-12-03 03:27:37 +00:00
when:
event: manual