Skip to content

chore: update cfn-lint to 1.58.0 - #9358

Merged
seshubaws merged 2 commits into
aws:developfrom
seshubaws:seshub/lint-webfunction
Oct 21, 2026
Merged

seshubaws merged 2 commits into
aws:developfrom
seshubaws:seshub/lint-webfunction

Conversation

@seshubaws

@seshubaws seshubaws commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Which issue(s) does this change fix?

Follow-up to #9326.

Why is this change necessary?

test_lint_sam_resource_types.py skipped AWS::Serverless::WebFunction because cfn-lint had no schema for it or for the AWS::Lambda::WebFunction* types it generates. The new version of cfn-lint now has them, so the test can cover Web Functions.

How does it address the issue?

Removes AWS::Serverless::WebFunction from NEW_RESOURCES_TO_IGNORE, which is now empty, and adds a Web Function to the template the test lints.

Also updates cfn-lint to 1.58.0: the bound in pyproject.toml is now <1.59, and the requirements/reproducible-*.txt files were regenerated so that only cfn-lint changed.

What side effects does this change have?

None for users beyond the cfn-lint update.

I checked that cfn-lint validates the Web Function's properties: an unknown property fails with E3002.

Mandatory Checklist

PRs will only be reviewed after checklist is complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@seshubaws
seshubaws requested a review from a team as a code owner October 21, 2026 20:28
@seshubaws seshubaws changed the title test: lint AWS::Serverless::WebFunction in the SAM resource type lint test chore: update cfn-lint to 1.58.0 and lint AWS::Serverless::WebFunction Oct 21, 2026
@seshubaws seshubaws changed the title chore: update cfn-lint to 1.58.0 and lint AWS::Serverless::WebFunction chore: update cfn-lint to 1.58.0 Oct 21, 2026
@seshubaws
seshubaws enabled auto-merge (squash) October 21, 2026 21:12
@seshubaws
seshubaws disabled auto-merge October 21, 2026 21:16
@seshubaws
seshubaws merged commit 67e014b into aws:develop Oct 21, 2026
146 of 151 checks passed
@seshubaws
seshubaws deleted the seshub/lint-webfunction branch October 21, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants