controller-cdktf
This repo contains the generated code for cdktf in Go. The implementation is being developed in sourcegraph/controller.
This package is only used internally at Sourcegraph - the generated code is public for ease of use and avoid performance issue with large amount of generated content being tracked in a Git repository.
Usage
Adding a new provider or module to CDKTF
Follow https://github.com/sourcegraph/cdktf-provider-gen#usage
make <target>Upgrading CDKTF
Review the changelog of the target release. Watch out for breaking changes and adjust the upgrade plan if neccessary.
Re-generate all providers and modules:
```bash
make -j4FAQ
Why not use the pre-built providers?
We would like to use specific versions of provides, hence we are not using pre-built providers, such as cdktf/cdktf-provider-google-go.
Why multiple modules instead of one?
Generated code combined from all providers and modules exceed the limit of go get, and this cannot be changed.