23 lines
451 B
YAML
23 lines
451 B
YAML
---
|
|
version: "3"
|
|
|
|
tasks:
|
|
|
|
init:
|
|
desc: Initialize terraform dependencies
|
|
dir: "{{.TERRAFORM_DIR}}/cloudflare"
|
|
cmds:
|
|
- terraform init {{.CLI_ARGS}}
|
|
|
|
plan:
|
|
desc: Show the changes terraform will make
|
|
dir: "{{.TERRAFORM_DIR}}/cloudflare"
|
|
cmds:
|
|
- terraform plan {{.CLI_ARGS}}
|
|
|
|
apply:
|
|
desc: Apply the changes to Cloudflare
|
|
dir: "{{.TERRAFORM_DIR}}/cloudflare"
|
|
cmds:
|
|
- terraform apply {{.CLI_ARGS}}
|