go get github.com/crossplane-contrib/provider-upjet-aws@v2.0.0
❯ go get github.com/crossplane-contrib/provider-upjet-aws@v2.0.0
go: github.com/crossplane-contrib/provider-upjet-aws@v2.0.0: invalid version: module contains a go.mod file, so module path must match major version ("github.com/crossplane-contrib/provider-upjet-aws/v2")
But there may be further issues blocking the entire guide working smoothly. We should revisit this guide now that v2 has shipped, make sure everything works, and make any updates that are needed.
URL
https://docs.crossplane.io/v2.0/guides/write-a-composition-function-in-go/
What's Wrong?
The example function in https://docs.crossplane.io/v2.0/guides/write-a-composition-function-in-go/ imports the types from
provider-upjet-aws:v2:Which results in:
This may possibly work after:
/v2module path, tracked in [Bug]: v2 release should have major version module suffix crossplane-contrib/provider-upjet-aws#1846But there may be further issues blocking the entire guide working smoothly. We should revisit this guide now that v2 has shipped, make sure everything works, and make any updates that are needed.