File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
awacs == 0.9.6
2
- troposphere == 2.5.3
2
+ troposphere == 2.6.0
3
3
flake8 == 3.4.1
4
4
isort == 4.2.15
5
5
sphinx == 1.6.7
Original file line number Diff line number Diff line change
1
+ import datetime
1
2
import os
2
3
3
4
USE_DOKKU = os .environ .get ("USE_DOKKU" ) == "on"
45
46
# Must be last to tag all resources
46
47
from . import tags # noqa: F401
47
48
49
+ # Since we're outputting YAML, we can include comments
50
+ print ("# This Cloudformation stack template was generated by" )
51
+ print ("# https://github.com/caktus/aws-web-stacks" )
52
+ print ("# at %s" % datetime .datetime .now ())
53
+ print ("# with parameters:" )
54
+ use_parms = sorted (parm for parm in os .environ .keys () if parm .startswith ("USE_" ))
55
+ for parm in use_parms :
56
+ print ("#\t %s = %s" % (parm , os .environ [parm ]))
57
+ print ()
48
58
print (template .template .to_yaml ())
You can’t perform that action at this time.
0 commit comments