-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
CloudFormation v2 Engine: Base Support for Fn::GetAZs #12699
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 - Alternative Providers983 tests 564 ✅ 22m 33s ⏱️ Results for commit 82ca923. ♻️ This comment has been updated with latest results. |
LocalStack Community integration with Pro 2 files 2 suites 22m 0s ⏱️ Results for commit 82ca923. ♻️ This comment has been updated with latest results. |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 22m 29s ⏱️ Results for commit 82ca923. ♻️ This comment has been updated with latest results. |
@@ -109,7 +109,6 @@ def test_cfn_with_multiple_route_tables(deploy_cfn_template, aws_client): | |||
assert len(resp["RouteTables"]) == 4 | |||
|
|||
|
|||
@pytest.mark.skip(reason="CFNV2:Fn::Select, CFNV2:Fn::GatAZs") |
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.
🎉
@@ -165,7 +164,6 @@ def test_dhcp_options(aws_client, deploy_cfn_template, snapshot): | |||
snapshot.match("description", response["DhcpOptions"][0]) | |||
|
|||
|
|||
@pytest.mark.skip(reason="CFNV2:Fn::Select, CFNV2:Fn::GatAZs") |
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.
🎉
@@ -197,7 +197,6 @@ def test_cidr_function(self, deploy_cfn_template): | |||
|
|||
assert deployed.outputs["Address"] == "10.0.0.0/24" | |||
|
|||
@pytest.mark.skip(reason="CFNV2:Fn::GetAZs") |
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.
🎉
account_id = self._change_set.account_id | ||
ec2_client = connect_to(aws_access_key_id=account_id, region_name=region).ec2 | ||
try: | ||
get_availability_zones_result: DescribeAvailabilityZonesResult = ( |
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
get_availability_zones_result: DescribeAvailabilityZonesResult = ( | |
describe_availability_zones_result: DescribeAvailabilityZonesResult = ( |
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::GetAZs
.Changes
Fn::GetAZs