Skip to content

Commit

Permalink
Fix repository referencies in docs and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
liamniou authored and Stanislau Liamniou committed Feb 20, 2023
1 parent 2692c5f commit f8a063d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ This terraform provider allows management of **Bitbucket Server** resources. The

## Using the provider

Download a binary for your system from the release page and remove the `-os-arch` details so you're left with `terraform-provider-bitbucketserver`.
Use `chmod +x` to make it executable and then either place it at the root of your Terraform folder or in the Terraform plugin folder on your system.

See [User Guide](https://gavinbunney.github.io/terraform-provider-bitbucketserver) for details on all the provided data and resource types.
See [User Guide](https://registry.terraform.io/providers/liamniou/bitbucketserver/latest) for details on all the provided data and resource types.

### Example

Expand Down
2 changes: 1 addition & 1 deletion bitbucket/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strings"

"github.com/gavinbunney/terraform-provider-bitbucketserver/bitbucket/marketplace"
"github.com/liamniou/terraform-provider-bitbucketserver/bitbucket/marketplace"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ terraform {
required_providers {
bitbucketserver = {
source = "gavinbunney/bitbucketserver"
source = "liamniou/bitbucketserver"
}
}
}
Expand All @@ -30,7 +30,7 @@ The following one-liner script will fetch the latest provider version and downlo

```bash
$ mkdir -p ~/.terraform.d/plugins && \
curl -Ls https://api.github.com/repos/gavinbunney/terraform-provider-bitbucketserver/releases/latest \
curl -Ls https://api.github.com/repos/liamniou/terraform-provider-bitbucketserver/releases/latest \
| jq -r ".assets[] | select(.browser_download_url | contains(\"$(uname -s | tr A-Z a-z)\")) | select(.browser_download_url | contains(\"amd64\")) | .browser_download_url" \
| xargs -n 1 curl -Lo ~/.terraform.d/plugins/terraform-provider-bitbucketserver.zip && \
pushd ~/.terraform.d/plugins/ && \
Expand All @@ -44,7 +44,7 @@ $ mkdir -p ~/.terraform.d/plugins && \

#### Install manually

If you don't want to use the one-liner above, you can download a binary for your system from the [release page](https://github.com/gavinbunney/terraform-provider-bitbucketserver/releases),
If you don't want to use the one-liner above, you can download a binary for your system from the [release page](https://github.com/liamniou/terraform-provider-bitbucketserver/releases),
then either place it at the root of your Terraform folder or in the Terraform plugin folder on your system.


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/gavinbunney/terraform-provider-bitbucketserver
module github.com/liamniou/terraform-provider-bitbucketserver

require github.com/hashicorp/terraform v0.12.2

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/gavinbunney/terraform-provider-bitbucketserver/bitbucket"
"github.com/hashicorp/terraform/plugin"
"github.com/liamniou/terraform-provider-bitbucketserver/bitbucket"
)

func main() {
Expand Down

0 comments on commit f8a063d

Please sign in to comment.