Comments (2)
Another variant of the same problem reports as E1017
(this is closer to what I distilled to the original reproducer but I didn't notice the error number changed):
E1017 'Idx' is not one of ['Idx'] for mapping 'Map' and key 'Key'
mapv.yaml:25:13
AWSTemplateFormatVersion: '2010-09-09'
Parameters:
CidrBlock:
Type: String
Default: "192.168.0.0/24"
Ipv6CidrList:
Type: CommaDelimitedList
Default: ""
Mappings:
Map:
Key:
Idx: 0
Resources:
VPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: !Ref CidrBlock
Subnet:
Type: AWS::EC2::Subnet
Properties:
Ipv6CidrBlock: !Select
- !FindInMap
- Map
- Key
- Idx
- !Ref Ipv6CidrList
VpcId: !Ref 'VPC'
from cfn-lint.
Another FindInMap
problem (do you need a separate issue for this?)
cfn-lint
1.3.0-1.3.5 do not report any problem with this template that is completely missing the map RegionMap
AWSTemplateFormatVersion: '2010-09-09'
Resources:
VPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: !FindInMap
- RegionMap
- !Ref 'AWS::Region'
- Key
from cfn-lint.
Related Issues (20)
- Instead of deprecation warning, have an option to recieve an informational message.
- Exception thrown when assertions used HOT 2
- Function aware schema validation rules
- AWS::Cloud9::EnvironmentEC2 validation logic for ImageId does not align with CloudFormation documentation
- `Fn::ForEach:` does not match type {Array} HOT 2
- I1022 raised when converting List<String> to String via Fn::Join HOT 2
- API Gateway Lambda authorizer URI incorrectly fails I3042:accountId check HOT 1
- AWS::Events::Rule should allow both ['EventPattern', 'ScheduleExpression'] and should not throw an E3014 HOT 1
- E3693 - PerformanceInsightsEnabled not recognised as valid attribute for DB Cluster HOT 4
- E3601: Step Functions arn:aws:states:::aws-sdk:ssm:startAutomationExecution.waitForTaskToken does not match regex
- [cfn-lint] E3640: {'Fn::If': ['HasKmsKey', 'KMS', {'Ref': 'AWS::NoValue'}]} is not one of ['KMS']
- `E3601` - False-positive for AWS::StepFunctions::StateMachine `StringMatches` HOT 1
- [Potential Issue] E1051 Dynamic reference to secret in Parameters section
- [Bug] Rules support `Condition`, which is not a rule-specific intrinsic function HOT 2
- E8005 - False positive in Rules section, thinks !Contains is not returning a boolean
- Nested stack API Gateway Lambda authorizer URI parameter incorrectly fails I3042:accountId check
- Non-determinstic poor performance with nested If conditions HOT 5
- Validate parameters when using Fn::Transform
- From Cloudformation documentation, tags should be expressed as arrays of Key/Value HOT 4
- [Feature] Stack deployment file validation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfn-lint.