Skip to content

Commit d225f4d

Browse files
committed
cli: Add StackId to debug log on create
Save the full StackID (ARN) for the CloudFormation stack when creating a cluster. Unlike the stack name, the StackID is unique across accounts and time. Signed-off-by: Brian Barrett <[email protected]>
1 parent 3541ce7 commit d225f4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/cfncluster/cfncluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def create(args):
8080
stack = cfnconn.create_stack(stack_name,template_url=config.template_url,
8181
parameters=config.parameters, capabilities=capabilities,
8282
disable_rollback=args.norollback, tags=config.tags)
83+
logger.debug('StackId: %s' % (stack))
8384
status = cfnconn.describe_stacks(stack)[0].stack_status
8485

8586

0 commit comments

Comments
 (0)