The doc-drift sample-stack fixtures declared AWS::Serverless::Function with no Properties; cfn-lint's SAM transform errored (HIGH). Added minimal valid Properties (Handler/Runtime/InlineCode). Pre-existing on main — #19 pushed with --no-verify (xargs overflow) and CI runs no cfn-lint, so it slipped through. doc-drift still detects the stack (keys on template presence).
11 lines
301 B
YAML
11 lines
301 B
YAML
AWSTemplateFormatVersion: '2010-09-09'
|
|
Transform: AWS::Serverless-2016-10-31
|
|
Resources:
|
|
IngestFn:
|
|
Type: AWS::Serverless::Function
|
|
Properties:
|
|
Handler: app.handler
|
|
Runtime: python3.12
|
|
InlineCode: |
|
|
def handler(event, context):
|
|
return {"statusCode": 200}
|