You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a custom ruleset and created the plugin as a release for a repo in my organisation's github enterprise, however when I try to do tflint --init with the repo as the source I get the following error:
Failed to load TFLint config; plugin custom: source is invalid. Hostname must be github.com
The source isn't github.com but is instead github.<company_name>.com and it looks this is causing the issue.
Is there any way around this or if not any plans to change this so that I can use github enterprise for my custom ruleset?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I've created a custom ruleset and created the plugin as a release for a repo in my organisation's github enterprise, however when I try to do tflint --init with the repo as the source I get the following error:
Failed to load TFLint config; plugin
custom
:source
is invalid. Hostname must begithub.com
The source isn't github.com but is instead github.<company_name>.com and it looks this is causing the issue.
Is there any way around this or if not any plans to change this so that I can use github enterprise for my custom ruleset?
It's due to this condition here:
Line 482 in tflint/config.go
If this could be altered to include a wildcard between github and .com then we could use our plugin hosted on our enterprise
Beta Was this translation helpful? Give feedback.
All reactions