Skip to content

Commit

Permalink
chore(awslint): resource-attribute is now a warning (aws#23233)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
rix0rrr authored and Brennan Ho committed Dec 9, 2022
1 parent 9e7c805 commit 3bcb4b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/awslint/lib/rules/resource.ts
Expand Up @@ -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. ' +
Expand Down

0 comments on commit 3bcb4b6

Please sign in to comment.