-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
37 lines (37 loc) · 891 Bytes
/
wercker.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
35
36
37
box: node:4.2.6-slim
build:
steps:
- install-packages:
packages: unzip
- davidlluna/terraform-install:
version: 0.9.1
- script:
name: terraform validate
code: |
cd terraform && terraform validate
- script:
name: terraform init
code: |
cd terraform && terraform init
- script:
name: terraform apply
code: |
cd terraform && terraform apply
destroy:
steps:
- install-packages:
packages: unzip
- davidlluna/terraform-install:
version: 0.9.1
- script:
name: terraform validate
code: |
cd terraform && terraform validate
- script:
name: terraform init
code: |
cd terraform && terraform init
- script:
name: terraform apply
code: |
cd terraform && terraform destroy