handsome-state-5977509/08/2021, 4:34 PM
adds a newline even with
pulumi stack output $PROPERTY
specified. Can a special case be added with just the raw string for non-interactive usage? I believe the logic is here.
billowy-army-6859909/08/2021, 4:41 PM
pulumi stack output $PROPERTY | tr -d '\n'
handsome-state-5977509/08/2021, 5:01 PM
is a more accurate solution in a shell context - just for completeness' sake.
sed -z '$ s/\n$//'