Skip to content

Commit 621e2c1

Browse files
committed
Merge branch 'develop' into eks-with-nodegroup
# Conflicts: # requirements.txt
2 parents 4d0788c + 14f5866 commit 621e2c1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
awacs==0.9.6
2-
troposphere==2.5.3
2+
troposphere==2.6.0
33
flake8==3.4.1
44
isort==4.2.15
55
sphinx==1.6.7

stack/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import datetime
12
import os
23

34
USE_DOKKU = os.environ.get("USE_DOKKU") == "on"
@@ -45,4 +46,13 @@
4546
# Must be last to tag all resources
4647
from . import tags # noqa: F401
4748

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()
4858
print(template.template.to_yaml())

0 commit comments

Comments
 (0)