From 482dcca501b42d4a1f537274e47193f4db6768ef Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Mon, 5 Dec 2022 18:29:04 +0100 Subject: [PATCH] chore(awslint): `resource-attribute` is now a warning (#23233) It regularly breaks the build of new cfnspec imports, blocking adoption of upstream cfnspec changes. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/awslint/lib/rules/resource.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/awslint/lib/rules/resource.ts b/packages/awslint/lib/rules/resource.ts index 24df37d0160fc..19eb107c7f267 100644 --- a/packages/awslint/lib/rules/resource.ts +++ b/packages/awslint/lib/rules/resource.ts @@ -187,6 +187,7 @@ resourceLinter.add({ resourceLinter.add({ code: 'resource-attribute', + warning: true, message: 'resources must represent all cloudformation attributes as attribute properties. ' + '"@attribute ATTR[,ATTR]" can be used to tag non-standard attribute names. ' +