More docs cleanup, render provider schema

This commit is contained in:
Paul Tyng
2020-07-13 22:21:30 -04:00
parent 9726e53713
commit 1d5e1756b3
12 changed files with 24 additions and 22 deletions

View File

@@ -21,3 +21,13 @@ provider "unifi" {
# site = "foo" or optionally use UNIFI_SITE env var
}
```
## Schema
### Optional
- **allow_insecure** (Boolean, Optional) Skip verification of TLS certificates of API requests. You may need to set this to `true` if you are using your local API without setting up a signed certificate. Can be specified with the `UNIFI_INSECURE` environment variable.
- **api_url** (String, Optional) URL of the controller API. Can be specified with the `UNIFI_API` environment variable.
- **password** (String, Optional) Password for the user accessing the API. Can be specified with the `UNIFI_PASSWORD` environment variable.
- **site** (String, Optional) The site in the Unifi controller this provider will manage. Can be specified with the `UNIFI_SITE` environment variable. Default: `default`
- **username** (String, Optional) Local user name for the Unifi controller API. Can be specified with the `UNIFI_USERNAME` environment variable.