-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
go get github.com/crossplane-contrib/[email protected]
Which results in:
❯ go get github.com/crossplane-contrib/[email protected]
go: github.com/crossplane-contrib/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/crossplane-contrib/provider-upjet-aws/v2")
This may possibly work after:
- https://github.com/crossplane/function-sdk-go gets a v2 compatible update, tracked in Cut a release with operation function support function-sdk-go#216
- provider-upjet-aws gets a
/v2module path, tracked in [Bug]: v2 release should have major version module suffix crossplane-contrib/provider-upjet-aws#1846
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog