Add examples / descriptions and generate website

This commit is contained in:
Paul Tyng
2020-04-10 10:54:15 -04:00
parent 8592a86f3a
commit accc02a8a5
39 changed files with 782 additions and 259 deletions

View File

@@ -0,0 +1,16 @@
---
subcategory: ""
page_title: "Manage Users/Clients in a CSV - Unifi Provider"
description: |-
An example of using a CSV to manage all of your users of your network.
---
# Manage Users in a CSV
Given a CSV file with the following content:
{{ codefile "csv" "examples/csv_users/users.csv" }}
You could create/manage a `unifi_user` for every row/MAC address in the CSV with the following config:
{{ tffile "examples/csv_users/users.tf" }}

View File

@@ -0,0 +1,14 @@
---
layout: ""
page_title: "Provider: Unifi"
description: |-
The Unifi provider provides resources to interact with a Unifi controller API.
---
# Unifi Provider
The Unifi provider provides resources to interact with a Unifi controller API.
## Example Usage
{{tffile "examples/provider/provider.tf"}}