Skip to content

Commit e1739af

Browse files
committed
Fix terraform registry namespace: pub-solar/hostingde
1 parent 0a063ff commit e1739af

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ Currently only supports maintaining DNS Zones and Records.
66
- Required: `HOSTINGDE_AUTH_TOKEN`, go to your [hosting.de profile](https://secure.hosting.de/profile) and create an API Key
77
- Optional: `HOSTINGDE_ACCOUNT_ID`
88

9+
### Quick start
10+
```shell
11+
terraform init
12+
```
913

1014
### Example `main.tf`
1115
```
1216
terraform {
1317
required_providers {
1418
hostingde = {
15-
source = "hostingde/hostingde"
16-
version = ">= 0.0.1"
19+
source = "pub-solar/hostingde"
20+
version = ">= 0.0.2"
1721
}
1822
}
1923
}
@@ -132,7 +136,7 @@ Add your GOBIN PATH to `~/.terraformrc`
132136
provider_installation {
133137
134138
dev_overrides {
135-
"registry.terraform.io/hostingde/hostingde" = "<PATH>"
139+
"registry.terraform.io/pub-solar/hostingde" = "<PATH>"
136140
}
137141
138142
# For all other providers, install them directly from their origin provider

example/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
terraform {
22
required_providers {
33
hostingde = {
4-
source = "hostingde/hostingde"
5-
version = ">= 0.0.1"
4+
source = "pub-solar/hostingde"
5+
version = ">= 0.0.2"
66
}
77
}
88
}

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ import (
1313

1414
func main() {
1515
providerserver.Serve(context.Background(), hostingde.New, providerserver.ServeOpts{
16-
Address: "registry.terraform.io/hostingde/hostingde",
16+
Address: "registry.terraform.io/pub-solar/hostingde",
1717
})
1818
}

0 commit comments

Comments
 (0)