Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function "isCloudFormation()" needs to be updated? #99

Closed
miparnisari opened this issue Apr 27, 2020 · 3 comments · Fixed by #201
Closed

Function "isCloudFormation()" needs to be updated? #99

miparnisari opened this issue Apr 27, 2020 · 3 comments · Fixed by #201

Comments

@miparnisari
Copy link
Contributor

The code says

https://github.com/aws-cloudformation/aws-cfn-lint-visual-studio-code/blob/edd51fb86441a1c48d294c4b664189c6f4d11399/server/src/server.ts#L133

But the docs say:

The following organization namespaces are reserved and cannot be used in your resource type names: Alexa, AMZN, Amazon, ASK, AWS, Custom, Dev

@PatMyron
Copy link
Contributor

@miparnisari
Copy link
Contributor Author

Also, should we not be checking for SAM templates as well? (i.e. Transform: AWS::Serverless-2016-10-31)?

@PatMyron
Copy link
Contributor

Also, should we not be checking for SAM templates as well? (i.e. Transform: AWS::Serverless-2016-10-31)?

It wouldn't hurt to add, but SAM templates should already be detected by the existing logic

kddejong added a commit that referenced this issue Oct 13, 2021
* Recognize templates with Registry types

#99
https://github.com/aws-cloudformation/cloudformation-resource-schema/#resource-type-name

* tightening regular expression pattern

Co-authored-by: Kevin DeJong <kddejong@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants