Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable l1-output-string #675

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Enable l1-output-string #675

merged 1 commit into from
Nov 14, 2024

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented Nov 14, 2024

This required two fixes.

Firstly when reading in a literal string from PCL we need to re-escape any $${ escape sequences.

Secondly it's valid to have an empty string as a stack export. We fix this by making sure empty strings from PCL write out as "" rather than nothing, as the latter caused the yaml runtime to think it was an empty/null/missing key rather than an empty string.

@@ -1,9 +1,9 @@
outputs:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidentally commit the broken version of this file in #673

@Frassle Frassle marked this pull request as ready for review November 14, 2024 15:15
@Frassle Frassle requested a review from a team as a code owner November 14, 2024 15:15
This required two fixes.

Firstly when reading in a literal string from PCL we need to re-escape
any `$${` escape sequences.

Secondly it's valid to have an empty string as a stack export. We fix
this by making sure empty strings from PCL write out as `""` rather than
nothing, as the latter caused the yaml runtime to think it was an
empty/null/missing key rather than an empty string.
@Frassle Frassle merged commit 58cc134 into main Nov 14, 2024
6 checks passed
@Frassle Frassle deleted the fraser/l1-output-string branch November 14, 2024 15:50
@pulumi-bot
Copy link

This PR has been shipped in release v1.12.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants