diff --git a/src/cfnlint/rules/functions/_BaseFn.py b/src/cfnlint/rules/functions/_BaseFn.py index 2e4e118997..99dce4adf4 100644 --- a/src/cfnlint/rules/functions/_BaseFn.py +++ b/src/cfnlint/rules/functions/_BaseFn.py @@ -63,6 +63,11 @@ def resolve( key, _ = self.key_value(instance) return_err: ValidationError | None = None + validator = validator.evolve( + context=validator.context.evolve( + strict_types=False, + ), + ) for value, v, resolve_err in validator.resolve_value(instance): if resolve_err: yield resolve_err