Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
add test flag
Browse files Browse the repository at this point in the history
  • Loading branch information
koikonom committed Jun 18, 2015
1 parent 1c9861f commit d7bdc23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bootstrap_cfn/fab_tasks.py
Expand Up @@ -320,7 +320,7 @@ def cfn_delete(force=False):


@task
def cfn_create():
def cfn_create(test=False):
"""
Create the AWS cloudformation stack.
Expand All @@ -332,6 +332,9 @@ def cfn_create():
cfn_config = get_config()

cfn = get_connection(Cloudformation)
if test:
print cfn_config.process()
return
# Upload any SSL certs that we may need for the stack.
if 'ssl' in cfn_config.data:
print green("Uploading SSL certificates to stack")
Expand Down

0 comments on commit d7bdc23

Please sign in to comment.