File tree Expand file tree Collapse file tree 3 files changed +20
-35
lines changed Expand file tree Collapse file tree 3 files changed +20
-35
lines changed Original file line number Diff line number Diff line change 1
1
default : install
2
2
3
- generate :
3
+ docs :
4
4
go generate ./...
5
5
6
6
install :
Original file line number Diff line number Diff line change 2
2
3
3
Currently only supports maintaining DNS Zones and Records.
4
4
5
+ - [ Provider documentation] ( https://registry.terraform.io/providers/pub-solar/hostingde/latest/docs )
6
+
5
7
### Environment variables for provider configuration
6
8
- Required: ` HOSTINGDE_AUTH_TOKEN ` , go to your [ hosting.de profile] ( https://secure.hosting.de/profile ) and create an API Key
7
9
- Optional: ` HOSTINGDE_ACCOUNT_ID `
8
10
9
11
### Quick start
12
+ Copy the example ` main.tf ` , then run the following commands:
13
+
14
+ ``` shell
15
+ export HOSTINGDE_AUTH_TOKEN=your-token
16
+ ```
10
17
``` shell
11
18
terraform init
12
19
```
20
+ ``` shell
21
+ terraform plan -out " hostingde.plan"
22
+ ```
23
+ ``` shell
24
+ terraform apply " hostingde.plan"
25
+ ```
13
26
14
27
### Example ` main.tf `
15
28
```
@@ -152,6 +165,12 @@ Compile and install the provider into your `$GOPATH/bin`
152
165
make install
153
166
```
154
167
168
+ Generate documentation to ` docs/ `
169
+
170
+ ``` shell
171
+ make docs
172
+ ```
173
+
155
174
Run resource tests
156
175
``` shell
157
176
export HOSTINGDE_AUTH_TOKEN=YOUR-API-TOKEN
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments