-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmoon.yml
53 lines (50 loc) · 964 Bytes
/
moon.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
project:
name: terraform
description: Deploy leaky-paywall to CDN
type: automation
dependsOn:
- leaky-paywall
tasks:
init:
command:
- terraform
- init
fmt:
deps:
- init
command:
- terraform
- fmt
plan:
command:
- terraform
- plan
inputs:
- /lib/leaky-paywall.min.js
- /lib/leaky-paywall-debug.min.js
- /lib/leaky-paywall-preview.min.js
- $TF_VAR_aws_access_key
- $TF_VAR_aws_secret_key
- '*.tfvars'
- .terraform.lock.hcl
- '*.tf'
deps:
- init
- ^:deploy
deploy:
command:
- terraform
- apply
- -auto-approve
inputs:
- /lib/leaky-paywall.min.js
- /lib/leaky-paywall-debug.min.js
- /lib/leaky-paywall-preview.min.js
- $TF_VAR_aws_access_key
- $TF_VAR_aws_secret_key
- '*.tfvars'
- .terraform.lock.hcl
- '*.tf'
deps:
- init
- ^:deploy