|
419 | 419 | },
|
420 | 420 | {
|
421 | 421 | "Filename": "test/fixtures/templates/quickstart/nist_application.yaml",
|
422 |
| - "Id": "99444d58-b2c3-aee5-41f9-b2252a17fc41", |
423 |
| - "Level": "Error", |
| 422 | + "Id": "6ecda82c-9ccf-e772-b940-41eafbc02f6e", |
| 423 | + "Level": "Warning", |
424 | 424 | "Location": {
|
425 | 425 | "End": {
|
426 | 426 | "ColumnNumber": 12,
|
|
441 | 441 | "Message": "{'Ref': 'pAppAmi'} is not a 'AWS::EC2::Image.Id' when 'Ref' is resolved",
|
442 | 442 | "ParentId": null,
|
443 | 443 | "Rule": {
|
444 |
| - "Description": "Check that a AMI id matches a pattern", |
445 |
| - "Id": "E1152", |
446 |
| - "ShortDescription": "Validate AMI id format", |
447 |
| - "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/format_keyword.md#AWS::EC2::Image.Id" |
| 444 | + "Description": "Resolve the Ref and then validate the values against the schema", |
| 445 | + "Id": "W1030", |
| 446 | + "ShortDescription": "Validate the values that come from a Ref function", |
| 447 | + "Source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html" |
448 | 448 | }
|
449 | 449 | },
|
450 | 450 | {
|
|
644 | 644 | },
|
645 | 645 | {
|
646 | 646 | "Filename": "test/fixtures/templates/quickstart/nist_application.yaml",
|
647 |
| - "Id": "36b41df4-77e9-d1c7-179f-feb9bec8cf8b", |
648 |
| - "Level": "Error", |
| 647 | + "Id": "300dd743-adad-ad4c-c09d-63fd5e9efcf2", |
| 648 | + "Level": "Warning", |
649 | 649 | "Location": {
|
650 | 650 | "End": {
|
651 | 651 | "ColumnNumber": 12,
|
|
666 | 666 | "Message": "{'Ref': 'pWebServerAMI'} is not a 'AWS::EC2::Image.Id' when 'Ref' is resolved",
|
667 | 667 | "ParentId": null,
|
668 | 668 | "Rule": {
|
669 |
| - "Description": "Check that a AMI id matches a pattern", |
670 |
| - "Id": "E1152", |
671 |
| - "ShortDescription": "Validate AMI id format", |
672 |
| - "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/format_keyword.md#AWS::EC2::Image.Id" |
| 669 | + "Description": "Resolve the Ref and then validate the values against the schema", |
| 670 | + "Id": "W1030", |
| 671 | + "ShortDescription": "Validate the values that come from a Ref function", |
| 672 | + "Source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html" |
673 | 673 | }
|
674 | 674 | },
|
675 | 675 | {
|
|
1672 | 1672 | },
|
1673 | 1673 | {
|
1674 | 1674 | "Filename": "test/fixtures/templates/quickstart/nist_application.yaml",
|
1675 |
| - "Id": "2d2c5854-e28f-1351-9543-77260d81770e", |
1676 |
| - "Level": "Error", |
| 1675 | + "Id": "ce028b65-d316-4519-8018-ac6ec0477964", |
| 1676 | + "Level": "Warning", |
1677 | 1677 | "Location": {
|
1678 | 1678 | "End": {
|
1679 | 1679 | "ColumnNumber": 12,
|
|
1694 | 1694 | "Message": "{'Ref': 'pWebServerAMI'} is not a 'AWS::EC2::Image.Id' when 'Ref' is resolved",
|
1695 | 1695 | "ParentId": null,
|
1696 | 1696 | "Rule": {
|
1697 |
| - "Description": "Check that a AMI id matches a pattern", |
1698 |
| - "Id": "E1152", |
1699 |
| - "ShortDescription": "Validate AMI id format", |
1700 |
| - "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/format_keyword.md#AWS::EC2::Image.Id" |
| 1697 | + "Description": "Resolve the Ref and then validate the values against the schema", |
| 1698 | + "Id": "W1030", |
| 1699 | + "ShortDescription": "Validate the values that come from a Ref function", |
| 1700 | + "Source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html" |
1701 | 1701 | }
|
1702 | 1702 | },
|
1703 | 1703 | {
|
|
0 commit comments