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

Custom Types/Resources + Macros/Transforms #1382

Closed
iDVB opened this issue Feb 23, 2020 · 3 comments
Closed

Custom Types/Resources + Macros/Transforms #1382

iDVB opened this issue Feb 23, 2020 · 3 comments

Comments

@iDVB
Copy link

iDVB commented Feb 23, 2020

Is there a way to get cfn-lint to be friends with templates that implement custom resources that have a custom Type like Type: DVB::StackProxy::ProxyEntry and that are later transformed with a Macro?

Seems like it would need a way to add further rules…. would something like this work --append-rules ?

@PatMyron
Copy link
Contributor

PatMyron commented Feb 23, 2020

Sorry for missing #1115 the first time around. Until more support for Fn::Transform exists, linting the transformed template, linting with custom Resource Specifications, ignoring specific violations like E3001, or supporting registry resource types schemas seem like the most viable options

@iDVB
Copy link
Author

iDVB commented Feb 23, 2020

Thanks @PatMyron, in a pinch, could people use that additional rules flag and add support?

@PatMyron
Copy link
Contributor

Thanks @PatMyron, in a pinch, could people use that additional rules flag and add support?

Adding additional rules won't help with the existing rules getting flagged in this situation

Ignoring existing rules while adding additional custom rules to cover the ignored rules is definitely a possibility, but probably more difficult than some of the other options

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

No branches or pull requests

2 participants