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.
Follow https://github.com/sourcegraph/cdktf-provider-gen#usage
make <target>
Review the changelog of the target release. Watch out for breaking changes and adjust the upgrade plan if neccessary.
Bumpd CDKTF_VERSION
in Makefile
:
-CDKTF_VERSION=0.16.3
+CDKTF_VERSION=0.19.2
Re-generate all providers and modules:
make -j4
If you upgrade google terraform provider, follow the version upgrade guide eg. v6 upgrade and update the controller.
We would like to use specific versions of provides, hence we are not using pre-built providers, such as cdktf/cdktf-provider-google-go.
Generated code combined from all providers and modules exceed the limit of go get
, and this cannot be changed.