Describe the Bug
In order for <plugin> --version command to work we need to embed the correct version via Go Releaser.
Go Releaser expects it to be under resources/plugin.Version:
|
- -s -w -X github.com/cloudquery/cloudquery/plugins/{{ .Var.component }}/resources/plugin.Version={{.Version}} |
That requires plugins to follow a specific directory and package convention.
Some don't like
k8s,okta,terraform. We should fix it
Expected Behavior
<plugin> --version should work for all plugins