Open
Description
Hello, foremost, thank you for fixing #668 so quickly.
I tried fetching the new release, but it is not working for 2 reasons.
Custom module name
You use a custom module name deviating from the Github location:
terraform-provider-authentik/go.mod
Line 1 in cc59ec2
But since you aren't running a Go proxy, fetching the code with this custom module name doesn't work:
$ go get goauthentik.io/[email protected]
go: goauthentik.io/[email protected]: unrecognized import path "goauthentik.io/terraform-provider-authentik": reading https://goauthentik.io/terraform-provider-authentik?go-get=1: 404 Not Found
Fetching it via commit & Github location highlights the problem about the custom module name:
$ go get github.com/goauthentik/terraform-provider-authentik@6c8303e114c8f8cc9be4aa6957dfdf572111ddeb
go: downloading github.com/goauthentik/terraform-provider-authentik v0.8.1-0.20250323173848-6c8303e114c8
go: github.com/goauthentik/terraform-provider-authentik@6c8303e114c8f8cc9be4aa6957dfdf572111ddeb (v0.8.1-0.20250323173848-6c8303e114c8) requires github.com/goauthentik/terraform-provider-authentik@v0.8.1-0.20250323173848-6c8303e114c8: parsing go.mod:
module declares its path as: goauthentik.io/terraform-provider-authentik
but was required as: github.com/goauthentik/terraform-provider-authentik
Major version mismatch
When I try to fetch the code via the Github location, it also doesn't work:
$ go get github.com/goauthentik/[email protected]
go: github.com/goauthentik/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/goauthentik/terraform-provider-authentik/v2025")
Proposal
Would you mind setting the module name to the Github location, including the correct major version?
module github.com/goauthentik/terraform-provider-authentik/v2025
Metadata
Metadata
Assignees
Labels
No labels