Skip to content

[4.x] Add !Transform and !GetStackOutput short forms - #451

Merged
GrahamCampbell merged 2 commits into
4.xfrom
support-yaml-short-forms-4x
Sep 6, 2026
Merged

[4.x] Add !Transform and !GetStackOutput short forms#451
GrahamCampbell merged 2 commits into
4.xfrom
support-yaml-short-forms-4x

Conversation

@GrahamCampbell

@GrahamCampbell GrahamCampbell commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

AWS documents YAML short forms for Fn::Transform and Fn::GetStackOutput, but the shared CloudFormation schema only registers the seventeen tags upstream knows about, so !Transform and !GetStackOutput fail with an unknown tag error everywhere osls parses YAML, from a resources block to an existing stack's template on the deployment bucket repair path. This adds both names to the function list, which the existing type factory maps to their Fn:: keys, records the addition in the utils README divergence note so it survives a re-sync, and covers both short forms in the schema test. Fn::Length, Fn::ToJsonString and the Rules functions have no documented short forms and are deliberately left out. #452 applies the same change to 3.x. Fixes #450.

@GrahamCampbell
GrahamCampbell force-pushed the support-yaml-short-forms-4x branch from a85c8dc to 0610066 Compare September 6, 2026 14:56
@GrahamCampbell GrahamCampbell changed the title [4.x] Support Transform and GetStackOutput YAML short forms [4.x] Add !Transform and !GetStackOutput short forms Sep 6, 2026
@GrahamCampbell
GrahamCampbell merged commit 25e8dbd into 4.x Sep 6, 2026
8 checks passed
@GrahamCampbell
GrahamCampbell deleted the support-yaml-short-forms-4x branch September 6, 2026 16:35
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.

YAML short forms for Fn::Transform and Fn::GetStackOutput are rejected

1 participant