Skip to content

Commit

Permalink
fix: Correct session import on output_stack.py (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: plinio.menarin <[email protected]>
  • Loading branch information
plinioh and plinioh authored Sep 6, 2023
1 parent 5a638b8 commit 75ad28a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions aws_secrets/tags/output_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
from yaml.nodes import ScalarNode

from aws_secrets.helpers.catch_exceptions import CLIError
from aws_secrets.miscellaneous import cloudformation
from aws_secrets.miscellaneous.session import session
from aws_secrets.miscellaneous import cloudformation, session


class OutputStackTag(yaml.YAMLObject):
Expand Down Expand Up @@ -53,7 +52,7 @@ def __repr__(self) -> str:
except IndexError:
pass

return cloudformation.get_output_value(session(), stack_name, output_name)
return cloudformation.get_output_value(session.session(), stack_name, output_name)

@classmethod
def from_yaml(cls, _, node):
Expand Down

0 comments on commit 75ad28a

Please sign in to comment.