-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AssociateCarrierIpAddress and AssociatePublicIpAddress not with Netwo…
…rkInterfaceId (#3685)
- Loading branch information
Showing
12 changed files
with
435 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 126 additions & 0 deletions
126
test/fixtures/results/integration/aws-ec2-instance.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
[ | ||
{ | ||
"Filename": "test/fixtures/templates/integration/aws-ec2-instance.yaml", | ||
"Id": "1a19d9d5-cf14-50d0-d2f5-9ebd5b73a7d4", | ||
"Level": "Error", | ||
"Location": { | ||
"End": { | ||
"ColumnNumber": 36, | ||
"LineNumber": 14 | ||
}, | ||
"Path": [ | ||
"Resources", | ||
"Instance", | ||
"Properties", | ||
"NetworkInterfaces", | ||
0, | ||
"AssociateCarrierIpAddress" | ||
], | ||
"Start": { | ||
"ColumnNumber": 11, | ||
"LineNumber": 14 | ||
} | ||
}, | ||
"Message": "'AssociateCarrierIpAddress' should not be included with 'NetworkInterfaceId'", | ||
"ParentId": null, | ||
"Rule": { | ||
"Description": "When certain properties are specified other properties should not be included", | ||
"Id": "E3020", | ||
"ShortDescription": "Validate that when a property is specified another property should be excluded", | ||
"Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#dependentexcluded" | ||
} | ||
}, | ||
{ | ||
"Filename": "test/fixtures/templates/integration/aws-ec2-instance.yaml", | ||
"Id": "62b86da6-4603-37c5-3087-299f72acc9a2", | ||
"Level": "Error", | ||
"Location": { | ||
"End": { | ||
"ColumnNumber": 35, | ||
"LineNumber": 15 | ||
}, | ||
"Path": [ | ||
"Resources", | ||
"Instance", | ||
"Properties", | ||
"NetworkInterfaces", | ||
0, | ||
"AssociatePublicIpAddress" | ||
], | ||
"Start": { | ||
"ColumnNumber": 11, | ||
"LineNumber": 15 | ||
} | ||
}, | ||
"Message": "'AssociatePublicIpAddress' should not be included with 'NetworkInterfaceId'", | ||
"ParentId": null, | ||
"Rule": { | ||
"Description": "When certain properties are specified other properties should not be included", | ||
"Id": "E3020", | ||
"ShortDescription": "Validate that when a property is specified another property should be excluded", | ||
"Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#dependentexcluded" | ||
} | ||
}, | ||
{ | ||
"Filename": "test/fixtures/templates/integration/aws-ec2-instance.yaml", | ||
"Id": "6cf986c0-5afe-2cdd-5da0-2a411f486e56", | ||
"Level": "Error", | ||
"Location": { | ||
"End": { | ||
"ColumnNumber": 29, | ||
"LineNumber": 17 | ||
}, | ||
"Path": [ | ||
"Resources", | ||
"Instance", | ||
"Properties", | ||
"NetworkInterfaces", | ||
0, | ||
"NetworkInterfaceId" | ||
], | ||
"Start": { | ||
"ColumnNumber": 11, | ||
"LineNumber": 17 | ||
} | ||
}, | ||
"Message": "'NetworkInterfaceId' should not be included with 'AssociateCarrierIpAddress'", | ||
"ParentId": null, | ||
"Rule": { | ||
"Description": "When certain properties are specified other properties should not be included", | ||
"Id": "E3020", | ||
"ShortDescription": "Validate that when a property is specified another property should be excluded", | ||
"Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#dependentexcluded" | ||
} | ||
}, | ||
{ | ||
"Filename": "test/fixtures/templates/integration/aws-ec2-instance.yaml", | ||
"Id": "697ee9aa-160c-152b-5d46-e708ed04b425", | ||
"Level": "Error", | ||
"Location": { | ||
"End": { | ||
"ColumnNumber": 29, | ||
"LineNumber": 17 | ||
}, | ||
"Path": [ | ||
"Resources", | ||
"Instance", | ||
"Properties", | ||
"NetworkInterfaces", | ||
0, | ||
"NetworkInterfaceId" | ||
], | ||
"Start": { | ||
"ColumnNumber": 11, | ||
"LineNumber": 17 | ||
} | ||
}, | ||
"Message": "'NetworkInterfaceId' should not be included with 'AssociatePublicIpAddress'", | ||
"ParentId": null, | ||
"Rule": { | ||
"Description": "When certain properties are specified other properties should not be included", | ||
"Id": "E3020", | ||
"ShortDescription": "Validate that when a property is specified another property should be excluded", | ||
"Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#dependentexcluded" | ||
} | ||
} | ||
] |
Oops, something went wrong.