|
29 | 29 | },
|
30 | 30 | {
|
31 | 31 | "Filename": "test/fixtures/templates/integration/aws-ec2-subnet.yaml",
|
32 |
| - "Id": "8a479670-ef8c-81bb-a143-73f819ee56b7", |
| 32 | + "Id": "2fc1386e-f7b8-9825-c2d8-377a5c34d4e8", |
33 | 33 | "Level": "Error",
|
34 | 34 | "Location": {
|
35 | 35 | "End": {
|
|
46 | 46 | "LineNumber": 13
|
47 | 47 | }
|
48 | 48 | },
|
49 |
| - "Message": "Only one of ['CidrBlock', 'Ipv4IpamPoolId', 'Ipv6IpamPoolId', 'Ipv6CidrBlock'] is a required property", |
| 49 | + "Message": "One of ['CidrBlock', 'Ipv4IpamPoolId', 'Ipv6IpamPoolId', 'Ipv6CidrBlock'] is a required property", |
50 | 50 | "ParentId": null,
|
51 | 51 | "Rule": {
|
52 |
| - "Description": "Make sure that Resources properties that are required exist. Along with other properties not being specified", |
53 |
| - "Id": "E3014", |
54 |
| - "ShortDescription": "Validate only one of a set of required properties are specified", |
55 |
| - "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#requiredxor" |
| 52 | + "Description": "Make sure at least one of the resource properties are included", |
| 53 | + "Id": "E3058", |
| 54 | + "ShortDescription": "Validate at least one of the properties are required", |
| 55 | + "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#requiredor" |
56 | 56 | }
|
57 | 57 | },
|
58 | 58 | {
|
|
82 | 82 | "ShortDescription": "Validate that when a property is specified that other properties should be included",
|
83 | 83 | "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#dependentrequired"
|
84 | 84 | }
|
| 85 | + }, |
| 86 | + { |
| 87 | + "Filename": "test/fixtures/templates/integration/aws-ec2-subnet.yaml", |
| 88 | + "Id": "1b4bb4da-747d-c5ab-e0fa-74c10a41c69f", |
| 89 | + "Level": "Error", |
| 90 | + "Location": { |
| 91 | + "End": { |
| 92 | + "ColumnNumber": 16, |
| 93 | + "LineNumber": 30 |
| 94 | + }, |
| 95 | + "Path": [ |
| 96 | + "Resources", |
| 97 | + "Subnet5", |
| 98 | + "Properties", |
| 99 | + "CidrBlock" |
| 100 | + ], |
| 101 | + "Start": { |
| 102 | + "ColumnNumber": 7, |
| 103 | + "LineNumber": 30 |
| 104 | + } |
| 105 | + }, |
| 106 | + "Message": "'CidrBlock' should not be included with 'Ipv4IpamPoolId'", |
| 107 | + "ParentId": null, |
| 108 | + "Rule": { |
| 109 | + "Description": "When certain properties are specified other properties should not be included", |
| 110 | + "Id": "E3020", |
| 111 | + "ShortDescription": "Validate that when a property is specified another property should be excluded", |
| 112 | + "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#dependentexcluded" |
| 113 | + } |
| 114 | + }, |
| 115 | + { |
| 116 | + "Filename": "test/fixtures/templates/integration/aws-ec2-subnet.yaml", |
| 117 | + "Id": "7f4a7ce0-e099-2c50-bf8e-123df33df353", |
| 118 | + "Level": "Error", |
| 119 | + "Location": { |
| 120 | + "End": { |
| 121 | + "ColumnNumber": 21, |
| 122 | + "LineNumber": 31 |
| 123 | + }, |
| 124 | + "Path": [ |
| 125 | + "Resources", |
| 126 | + "Subnet5", |
| 127 | + "Properties", |
| 128 | + "Ipv4IpamPoolId" |
| 129 | + ], |
| 130 | + "Start": { |
| 131 | + "ColumnNumber": 7, |
| 132 | + "LineNumber": 31 |
| 133 | + } |
| 134 | + }, |
| 135 | + "Message": "'Ipv4IpamPoolId' should not be included with 'CidrBlock'", |
| 136 | + "ParentId": null, |
| 137 | + "Rule": { |
| 138 | + "Description": "When certain properties are specified other properties should not be included", |
| 139 | + "Id": "E3020", |
| 140 | + "ShortDescription": "Validate that when a property is specified another property should be excluded", |
| 141 | + "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#dependentexcluded" |
| 142 | + } |
85 | 143 | }
|
86 | 144 | ]
|
0 commit comments