Fix doc typos

main
nleiva 2022-04-29 01:29:18 -04:00
parent 11c6de944e
commit ea28860388
2 changed files with 4 additions and 4 deletions

View File

@ -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/.

View File

@ -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{