-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
CloudFormation V2 Engine: Support for Fn::Sub #12650
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
Conversation
Test Results - Preflight, Unit21 579 tests - 22 19 927 ✅ - 28 6m 13s ⏱️ +2s Results for commit 2e175d8. ± Comparison against base commit 20c40d1. This pull request removes 42 and adds 20 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 20m 42s ⏱️ - 1h 21m 27s Results for commit 2e175d8. ± Comparison against base commit 20c40d1. This pull request removes 3968 and adds 10 tests. Note that renamed tests count towards both.
This pull request removes 209 skipped tests and adds 9 skipped tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Test Results (amd64) - Integration, Bootstrap 5 files ± 0 5 suites ±0 2h 20m 7s ⏱️ - 2m 3s Results for commit 2e175d8. ± Comparison against base commit 20c40d1. This pull request skips 1 and un-skips 1 tests.
♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
template_variable_value = sub_parameters[template_variable_name] | ||
else: | ||
try: | ||
resource_delta = self._resolve_reference(logical_id=template_variable_name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: references are not always for resources
resource_delta = self._resolve_reference(logical_id=template_variable_name) | |
reference_delta = self._resolve_reference(logical_id=template_variable_name) |
Motivation
The introduction of the CloudFormation v2 engine laid the foundation for a redesigned engine capable of accurately determining update requirements between CloudFormation deployments, while also enabling parallel execution during updates. However, the current implementation still lacks support for Fn::Sub intrinsic function.
Future efforts should add validation checks and cyclic reference detections.
Changes
Fn::Sub
(modeling, describing, and executing)