-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdip.yml
34 lines (31 loc) · 825 Bytes
/
dip.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '4.1'
terraform_defaults: &terraform_defaults
service: terraform
compose_method: exec
interaction:
terraform:
<< : *terraform_defaults
description: Run terraform command
command: terraform -chdir=terraform
bash:
<< : *terraform_defaults
description: Enter bash shell
command: bash
apply:
<< : *terraform_defaults
description: Run terraform apply
command: terraform -chdir=terraform apply -auto-approve
init:
<< : *terraform_defaults
description: Run terraform init
command: terraform -chdir=terraform init
destroy:
<< : *terraform_defaults
description: Run terraform destroy
command: terraform -chdir=terraform destroy -auto-approve
provision:
- dip compose down -v
- dip compose build
- dip compose up -d
- dip init
- dip apply