Skip to content

Commit

Permalink
Change terraform-provider-minio license to AGPL-3.0 and append /v2
Browse files Browse the repository at this point in the history
…to the module name (#522)

Co-authored-by: Victor Nogueira <[email protected]>
  • Loading branch information
BuJo and felladrin authored Nov 5, 2023
1 parent 1919016 commit f4464e5
Show file tree
Hide file tree
Showing 11 changed files with 676 additions and 222 deletions.
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

0 comments on commit f4464e5

Please sign in to comment.