-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
add support for Fn::Tranform in CFnV2 #12966
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
base: main
Are you sure you want to change the base?
Conversation
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 21m 36s ⏱️ - 1h 23m 22s Results for commit bab886a. ± Comparison against base commit 5a920cb. This pull request removes 4073 tests.
♻️ This comment has been updated with latest results. |
a85bc97
to
aae7310
Compare
localstack-core/localstack/services/cloudformation/engine/v2/change_set_model.py
Outdated
Show resolved
Hide resolved
localstack-core/localstack/services/cloudformation/engine/v2/change_set_model.py
Show resolved
Hide resolved
8703ae2
to
b22a894
Compare
daa7743
to
c962e2f
Compare
except FailedTransformationException as e: | ||
change_set.status = ChangeSetStatus.FAILED | ||
change_set.status_reason = e.message | ||
change_set.stack.set_stack_status( | ||
status=StackStatus.ROLLBACK_IN_PROGRESS, reason=e.message | ||
) | ||
change_set.stack.set_stack_status(status=StackStatus.CREATE_FAILED) | ||
return |
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.
@simonrw This is the section I'm not liking that much
e078fad
to
3409251
Compare
Adding these docstrings helped me understand what the test did
Motivation
This PR implements the capability to resolve FnTransform in the new CFnV2 engine in multiple locations of a template.
Changes
Testing
skip_if_v2_provider
in related testsNotes
This PR only implements the resolution of the transformations in specific locations. More locations are going to be needed in the future