-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
CFNv2: support validation of CAPABILITY_AUTO_EXPAND #12864
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
LocalStack Community integration with Pro 2 files 2 suites 22m 21s ⏱️ Results for commit 542955c. ♻️ This comment has been updated with latest results. |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 34m 41s ⏱️ Results for commit 542955c. ♻️ This comment has been updated with latest results. |
pinzon
left a comment
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.
LGTM in general but we need to make sure CAPABILITY_AUTO_EXPAND are only necessary for global transforms.
|
|
||
| if ( | ||
| "CAPABILITY_AUTO_EXPAND" not in request.get("Capabilities", []) | ||
| and "Transform" in structured_template.keys() |
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.
Question: we certain the capability is only meant for Global Transformation, or can it be a limiting factor when using Local Transformations and macros?
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.
It is also required for macros as well. This is the implementation in the old provider, so if we are not in parity there we are not in parity either, and have not been in parity for a long time!
pinzon
left a comment
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.
Thanks for addressing my question 👍
Motivation
When creating a stack with transforms, the
CAPABILITY_AUTO_EXPANDcapability is required. This is not currently validated with the new engineChanges