-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): cannot use container assets with new-style synthesis (#8575)
When referencing loations that contained unresolved Tokens ( account, region, URL suffix) the synthesizer generated: {Fn::Sub: { Fn::Join: ... }} That is not allowed, the first argument to `{Fn::Sub}` must be a string literal. This was a problem for all asset types, but the most-used file asset (`lambda.Code`) would only render `{ bucketName, objectKey }` which typically don't contain tokens, so you'd only notice when using Docker image assets. Fixes #8540. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
2 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters