Skip to content

Commit 1b70e37

Browse files
committed
Ignore non-AWS resources for setting the status
1 parent ca9cf02 commit 1b70e37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

localstack-core/localstack/services/cloudformation/engine/v2/change_set_resource_support_checker.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from localstack.services.cloudformation.engine.v2.change_set_model_visitor import (
55
ChangeSetModelVisitor,
66
)
7+
from localstack.services.cloudformation.resources import AWS_AVAILABLE_CFN_RESOURCES
78
from localstack.utils.catalog.catalog import (
89
AwsServicesSupportStatus,
910
CatalogPlugin,
@@ -91,6 +92,9 @@ def __init__(self):
9192
def visit_node_resource(self, node_resource: NodeResource):
9293
resource_type = node_resource.type_.value
9394
if resource_type not in self._resource_failure_messages:
95+
if resource_type not in AWS_AVAILABLE_CFN_RESOURCES:
96+
# Ignore non-AWS resources
97+
pass
9498
support_status = self._resource_support_status(resource_type)
9599
if support_status == CloudFormationResourcesSupportAtRuntime.AVAILABLE:
96100
pass

0 commit comments

Comments
 (0)