Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change terraform-provider-minio license to AGPL-3.0 and append /v2 to the module name #522

Merged
merged 10 commits into from
Nov 5, 2023
862 changes: 661 additions & 201 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Made with <span style="color: #e25555;">&#9829;</span> using [Go](https://golang

## Supported Versions

- Terraform v1.4
- Terraform v1.5
- Go v1.20

It doesn't mean that this provider won't run on previous versions of Terraform or Go, though.
Expand Down Expand Up @@ -122,7 +122,7 @@ See the [open issues](https://github.com/aminueza/terraform-provider-minio/issue

## License

Distributed under the Apache License. See [LICENSE](./LICENSE) for more information.
All versions of this provider starting from v2.0.0 are distributed under the AGPL-3.0 License. See [LICENSE](./LICENSE) for more information.

## Acknowledgements

Expand Down
5 changes: 2 additions & 3 deletions examples/bucket/main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
terraform {
required_providers {
minio = {
source = "aminueza/minio"
version = ">= 1.0.0"
source = "aminueza/minio"
version = ">= 2.0.0"
}
}
required_version = ">= 0.13"
}

provider "minio" {
Expand Down
5 changes: 2 additions & 3 deletions examples/group/main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
terraform {
required_providers {
minio = {
source = "aminueza/minio"
version = ">= 1.0.0"
source = "aminueza/minio"
version = ">= 2.0.0"
}
}
required_version = ">= 0.13"
}

provider "minio" {
Expand Down
5 changes: 2 additions & 3 deletions examples/policy/main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
terraform {
required_providers {
minio = {
source = "aminueza/minio"
version = ">= 1.0.0"
source = "aminueza/minio"
version = ">= 2.0.0"
}
}
required_version = ">= 0.13"
}

provider "minio" {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/minio_s3_bucket_replication/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
minio = {
source = "aminueza/minio"
version = ">= 1.19.0"
version = ">= 2.0.0"
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions examples/resources/minio_s3_object/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ terraform {
required_providers {
minio = {
source = "aminueza/minio"
version = ">= 1.0.0"
version = ">= 2.0.0"
}
}
required_version = ">= 0.13"
}

provider "minio" {
Expand Down
3 changes: 1 addition & 2 deletions examples/serviceaccount/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ terraform {
required_providers {
minio = {
source = "aminueza/minio"
version = ">= 1.0.0"
version = ">= 2.0.0"
}
}
required_version = ">= 0.13"
}

provider "minio" {
Expand Down
5 changes: 2 additions & 3 deletions examples/user/main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
terraform {
required_providers {
minio = {
source = "aminueza/minio"
version = ">= 1.0.0"
source = "aminueza/minio"
version = ">= 2.0.0"
}
}
required_version = ">= 0.13"
}

provider "minio" {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/aminueza/terraform-provider-minio
module github.com/aminueza/terraform-provider-minio/v2

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"flag"

"github.com/aminueza/terraform-provider-minio/minio"
"github.com/aminueza/terraform-provider-minio/v2/minio"
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
)

Expand Down