Fix doc typos
parent
11c6de944e
commit
ea28860388
|
|
@ -24,5 +24,5 @@ provider "nautobot" {
|
||||||
|
|
||||||
### Required
|
### Required
|
||||||
|
|
||||||
- `token` (String, Sensitive) Customer/user-specific authorization token for the Shoreline API server.
|
- `token` (String, Sensitive) Customer/user-specific authorization API token for Nautobot.
|
||||||
- `url` (String) URL for Nautobot API server. It should be of the form https:///server.example.org/api/.
|
- `url` (String) URL for the Nautobot server. It should be of the form https:///server.example.org/api/.
|
||||||
|
|
|
||||||
|
|
@ -35,14 +35,14 @@ func New(version string) func() *schema.Provider {
|
||||||
Required: true,
|
Required: true,
|
||||||
DefaultFunc: schema.EnvDefaultFunc("NAUTOBOT_URL", nil),
|
DefaultFunc: schema.EnvDefaultFunc("NAUTOBOT_URL", nil),
|
||||||
ValidateFunc: validation.IsURLWithHTTPorHTTPS,
|
ValidateFunc: validation.IsURLWithHTTPorHTTPS,
|
||||||
Description: "URL for Nautobot API server. It should be of the form https:///server.example.org/api/.",
|
Description: "URL for the Nautobot server. It should be of the form https:///server.example.org/api/.",
|
||||||
},
|
},
|
||||||
"token": {
|
"token": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: true,
|
||||||
Sensitive: true,
|
Sensitive: true,
|
||||||
DefaultFunc: schema.EnvDefaultFunc("NAUTOBOT_TOKEN", nil),
|
DefaultFunc: schema.EnvDefaultFunc("NAUTOBOT_TOKEN", nil),
|
||||||
Description: "Customer/user-specific authorization token for the Shoreline API server.",
|
Description: "Customer/user-specific authorization API token for Nautobot.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
DataSourcesMap: map[string]*schema.Resource{
|
DataSourcesMap: map[string]*schema.Resource{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue