cfn-lint version: 0.10.2
E3001 Invalid or unsupported Type AWS::Lambda::LayerVersion for resource
This template yields a E3001 error:
---
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
FunctionDependencyLayer:
Type: AWS::Serverless::LayerVersion
Properties:
ContentUri:
Bucket: not-a-real-bucket
Key: not-a-real-key
CompatibleRuntimes:
- python3.6
For now I can workaround by ignoring E3001 but due to the lack of line level ignores this workaround is less than ideal. Linting will no longer detect any invalid resource type with this workaround in place.
Thanks!
Ugh. Looks like AWS::Lambda::LayerVersionPermission and AWS::Lambda::LayerVersionPermission were never published to the spec. Sigh. Let me see if I can get those published quickly.
If not, we can try to get a patch in until everyone gets back from vacation.
Thanks for the quick attention to this @cmmeyer!
Released with v0.11.0