Skip to content

Commit

Permalink
Update to EnterpriseDB
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-bar committed May 25, 2023
1 parent fa6f20d commit fbcbc7b
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .release/release-metadata.hcl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url_source_repository = "https://github.com/bryan-bar/terraform-provider-toolbox"
url_license = "https://github.com/bryan-bar/terraform-provider-toolbox/blob/main/LICENSE"
url_source_repository = "https://github.com/EnterpriseDB/terraform-provider-toolbox"
url_license = "https://github.com/EnterpriseDB/terraform-provider-toolbox/blob/main/LICENSE"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The external provider is a special provider that exists to provide an interface

## Documentation, questions and discussions
Official documentation on how to use this provider can be found on the
[Terraform Registry](https://registry.terraform.io/providers/bryan-bar/external/latest/docs).
[Terraform Registry](https://registry.terraform.io/providers/EnterpriseDB/external/latest/docs).
In case of specific questions or discussions or issues, please raise an issue on github.

We also provide:
Expand All @@ -30,7 +30,7 @@ version it implements, and Terraform:

Details can be found querying the [Registry API](https://www.terraform.io/internals/provider-registry-protocol#list-available-versions)
that return all the details about which version are currently available for a particular provider.
[Here](https://registry.terraform.io/v1/providers/bryan-bar/toolbox/versions) are the details for Time (JSON response).
[Here](https://registry.terraform.io/v1/providers/EnterpriseDB/toolbox/versions) are the details for Time (JSON response).


## Development
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/external.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ As of now, this resource will be re-created if any value is changed.Similar to n
terraform {
required_providers {
toolbox = {
source = "bryan-bar/toolbox"
source = "EnterpriseDB/toolbox"
}
}
}
Expand Down Expand Up @@ -130,7 +130,7 @@ output "mixed_results" {
terraform {
required_providers {
toolbox = {
source = "bryan-bar/toolbox"
source = "EnterpriseDB/toolbox"
}
}
}
Expand Down Expand Up @@ -217,7 +217,7 @@ resource implemented in bash:
terraform {
required_providers {
toolbox = {
source = "bryan-bar/toolbox"
source = "EnterpriseDB/toolbox"
}
}
}
Expand Down Expand Up @@ -296,7 +296,7 @@ the [`posix collection's json_callback`](https://docs.ansible.com/ansible/latest
terraform {
required_providers {
toolbox = {
source = "bryan-bar/toolbox"
source = "EnterpriseDB/toolbox"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/external/inline_ansible/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
toolbox = {
source = "bryan-bar/toolbox"
source = "EnterpriseDB/toolbox"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/external/inline_bash/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
toolbox = {
source = "bryan-bar/toolbox"
source = "EnterpriseDB/toolbox"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/external/run_ansible/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
toolbox = {
source = "bryan-bar/toolbox"
source = "EnterpriseDB/toolbox"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/external/run_bash/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
toolbox = {
source = "bryan-bar/toolbox"
source = "EnterpriseDB/toolbox"
}
}
}
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/bryan-bar/terraform-provider-toolbox
module github.com/EnterpriseDB/terraform-provider-toolbox

go 1.19

Expand Down
4 changes: 2 additions & 2 deletions internal/provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ func protoV5ProviderFactories() map[string]func() (tfprotov5.ProviderServer, err
func providerVersion() map[string]resource.ExternalProvider {
return map[string]resource.ExternalProvider{
"toolbox": {
VersionConstraint: "0.0.13",
Source: "bryan-bar/toolbox",
VersionConstraint: "0.1.0",
Source: "EnterpriseDB/toolbox",
},
}
}
2 changes: 1 addition & 1 deletion internal/provider/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func buildResourceTestProgram() (string, error) {
// We have a simple Go program that we use as a stub for testing.
cmd := exec.Command(
"go", "install",
"github.com/bryan-bar/terraform-provider-toolbox/internal/provider/test-programs/tf-acc-external-resource",
"github.com/EnterpriseDB/terraform-provider-toolbox/internal/provider/test-programs/tf-acc-external-resource",
)
err := cmd.Run()

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/hashicorp/terraform-plugin-framework/providerserver"

"github.com/bryan-bar/terraform-provider-toolbox/internal/provider"
"github.com/EnterpriseDB/terraform-provider-toolbox/internal/provider"
)

// Generate the Terraform provider documentation using `tfplugindocs`:
Expand All @@ -20,7 +20,7 @@ func main() {
flag.Parse()

err := providerserver.Serve(context.Background(), provider.New, providerserver.ServeOpts{
Address: "registry.terraform.io/bryan-bar/toolbox",
Address: "registry.terraform.io/EnterpriseDB/toolbox",
Debug: debug,
ProtocolVersion: 6,
})
Expand Down

0 comments on commit fbcbc7b

Please sign in to comment.