-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
53 lines (36 loc) · 1.17 KB
/
Makefile
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
.PHONY: help bootstrap diff synth deploy destroy
help:
@ echo 'Welcome to AWS Spot One Toolset'
@ echo
@ echo 'Usage: make [command]'
@ echo
@ echo 'Available Commands:'
@ echo
@ echo ' bootstrap cdk bootstrap'
@ echo ' diff cdk diff'
@ echo ' synth cdk synth'
@ echo ' deploy cdk deploy'
@ echo ' destroy cdk destroy'
@ echo ' clean rm cdk.context.json'
@ echo
@ echo '================================================================================================'
@ echo
##############################################################################
# cdk bootstrap
# Per Account & Per Region base
##############################################################################
bootstrap:
cdk bootstrap
##############################################################################
# cdk diff
##############################################################################
diff:
cdk diff -c use_default_vpc=1
synth:
cdk synth -c use_default_vpc=1
deploy:
cdk -c use_default_vpc=1 deploy
destroy:
cdk destroy
clean:
rm -f cdk.context.json