Skip to content

Revert "Tighten substitution pattern for Fn::Sub (#842)"#858

Merged
JordonPhillips merged 1 commit intosmithy-lang:mainfrom
gosar:fn-sub-revert
Jul 12, 2021
Merged

Revert "Tighten substitution pattern for Fn::Sub (#842)"#858
JordonPhillips merged 1 commit intosmithy-lang:mainfrom
gosar:fn-sub-revert

Conversation

@gosar
Copy link
Copy Markdown
Contributor

@gosar gosar commented Jul 9, 2021

This reverts commit fd5731f.

Description of changes:
#842 was made with the assumption that in the Smithy model, the strings that need Fn::Sub contain the final values as CloudFormation expects. It did not consider that those string could contain placeholder literals, like <lambdaFunction> or {{REPLACEME}} that could be post-processed by something like the CDK to generate the values as CloudFormation expects.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@JordonPhillips JordonPhillips merged commit 85a7f39 into smithy-lang:main Jul 12, 2021
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.

2 participants