Building From Source
The preferred way to use CloudQuery is through the available distribution, see the Getting Started guide
To build CloudQuery CLI from source, follow the steps:
- CloudQuery is developed in Go. Ensure you have a working Go runtime
- Fork and clone the CloudQuery repository. If you’re not sure how to do this, watch these videos.
- From the cloned repository root, change directory to
./cliand rungo build -o cloudqueryto build the CloudQuery CLI. The binary will be created in the same directory.
Building an integration from source is similar. Most integrations have a makefile in their directory to make this easier. For example, to build the aws integration, 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 configuration, together with the local registry. Python integrations have make build-docker to build a Docker image that can be used with the docker registry.
Next Steps
- Creating a New Integration - Build a source integration from scratch
- Running Locally - Test your integration locally during development
- Publishing an Integration - Share your integration on the hub
Last updated on