Building From Source
To build CloudQuery CLI from source, follow the steps:
- CloudQuery is developed in Go. Ensure you have a working Go runtime (opens in a new tab)
- Fork and clone the CloudQuery repository. If you’re not sure how to do this, please watch these videos (opens in a new tab).
- From the cloned repository root, change directory to
go build -o cloudqueryto build the CloudQuery CLI. The binary will be created in the same directory.
Building a plugin from source is similar. Most plugins have a makefile in their directory to make this easier. For example, to build the
aws plugin, run
make build from the
./plugins/source/aws directory. The resulting binary can be used by providing the path to it as the
path parameter in a plugin config, together with the
local registry. Python plugins have
make build-docker to build a Docker image that can be used with the