Skip to content

Fix AttributeError in fix_route53_ids when Route53 ID parameter is not a string#3739

Open
enlorik wants to merge 1 commit into
boto:developfrom
enlorik:fix/route53-none-id
Open

Fix AttributeError in fix_route53_ids when Route53 ID parameter is not a string#3739
enlorik wants to merge 1 commit into
boto:developfrom
enlorik:fix/route53-none-id

Conversation

@enlorik

@enlorik enlorik commented Jun 29, 2026

Copy link
Copy Markdown

Issue #, if available:

#3033

Description of changes:

fix_route53_ids calls .split('/') on each matching Route53 resource ID parameter but does not guard against non-string values. Passing HostedZoneId=None triggers this handler before ParamValidator runs and raises an AttributeError with no useful context. Adding an isinstance(params[name], str) guard lets non-string values pass through to normal parameter validation, which produces a clear ParamValidationError.

generated by AI tools, reviewed by enlorik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant