Skip to content

Commit

Permalink
Reinsert necessary deleted boto response in cloudknot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Sep 4, 2020
1 parent d872c94 commit d6a55fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cloudknot/cloudknot.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ def __init__(
self._stack_id,
)

response = aws.clients["cloudformation"].describe_stacks(
StackName=self._stack_id
)
outs = response.get("Stacks")[0]["Outputs"]

self._batch_service_role = _stack_out("BatchServiceRole", outs)
Expand Down Expand Up @@ -979,6 +982,9 @@ def __init__(
self._stack_id,
)

response = aws.clients["cloudformation"].describe_stacks(
StackName=self._stack_id
)
outs = response.get("Stacks")[0]["Outputs"]

job_def_arn = _stack_out("JobDefinition", outs)
Expand Down

0 comments on commit d6a55fb

Please sign in to comment.