You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm trying to upgrade from cfn-lint 0.87.x to 1.x
For adding compatibility with custom macro resources we are trying to add custom properties to some resource types, for example "AWS::EC2::NetworkAcl" via the --override-spec command. We currently integrate cfn-lint 0.x with our CI pipelines successfully as of today. While with the same command on cfn-lint v1+, it is not working.
Expected Behavior
The --override-spec flag should successfully load the custom spec file and apply it, returning no error as cfn-lint v0.87.x.
Current Behavior
The --override-spec parameter is apparently ignored. cfn-lint does not seem to process the custom spec file.
Error log:
E3002 Additional properties are not allowed ('Inbound' was unexpected)
test-vpc.yaml:195:7
E3002 Additional properties are not allowed ('Outbound' was unexpected)
test-vpc.yaml:200:7
E3002 Additional properties are not allowed ('Association' was unexpected)
test-vpc.yaml:205:7
The text was updated successfully, but these errors were encountered:
Environment
cfn-lint version:
1.22.3
OS:
macOS / Ubuntu
Python version:
3.9.6
Installation method:
pip install cfn-lint
Description
I'm trying to upgrade from cfn-lint 0.87.x to 1.x
For adding compatibility with custom macro resources we are trying to add custom properties to some resource types, for example "AWS::EC2::NetworkAcl" via the --override-spec command. We currently integrate cfn-lint 0.x with our CI pipelines successfully as of today. While with the same command on cfn-lint v1+, it is not working.
Here's a simple example,
override-file.json
:CFN template
test-vpc.yaml
:cfn-lint command:
cfn-lint test-vpc.yaml --override-spec override-file.json
Expected Behavior
The --override-spec flag should successfully load the custom spec file and apply it, returning no error as cfn-lint v0.87.x.
Current Behavior
The --override-spec parameter is apparently ignored. cfn-lint does not seem to process the custom spec file.
Error log:
The text was updated successfully, but these errors were encountered: