-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
CloudFormation v2 Engine: Base Support for Fn::Base64 #12700
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 21m 47s ⏱️ Results for commit bd846d9. ♻️ This comment has been updated with latest results. |
Test Results - Alternative Providers986 tests 568 ✅ 22m 34s ⏱️ Results for commit bd846d9. ♻️ This comment has been updated with latest results. |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 21m 4s ⏱️ Results for commit bd846d9. ♻️ This comment has been updated with latest results. |
@@ -109,7 +109,6 @@ def test_and_or_functions( | |||
bucket_names = [b["Name"] for b in buckets["Buckets"]] | |||
assert (bucket_name in bucket_names) == expected_bucket_created | |||
|
|||
@pytest.mark.skip(reason="CFNV2:Fn::Base64") |
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.
🎉
if not isinstance(string, str): | ||
raise RuntimeError(f"Invalid valueToEncode for Fn::Base64: '{string}'") | ||
|
||
string_bytes = string.encode("ascii") |
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: is the string guaranteed to be ascii?
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.
Indeed, thanks, this should have just been ported from v1, I'll change it accordingly
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 offers no support for
Fn::Base64
.Changes