in terranova/commands/helpers.py [0:0]
def extract_output_var(path: str, name: str) -> str:
"""Show output values from your root module."""
# Construct resources path
full_path = SharedContext.resources_dir().joinpath(path)
# Mount terraform context
terraform = mount_context(full_path)
# Execute output command
try:
return terraform.output(name)
except ErrorReturnCode as err:
raise Exit(code=err.exit_code) from err