feat: create users in the build-in radius server (#286)

* feat: account resource with data source

* Adjust docs and validation

* add import test steps

* adjust radius capitalization in docs

Co-authored-by: Paul Tyng <paul@paultyng.net>
This commit is contained in:
Oskar
2022-10-23 16:12:10 +02:00
committed by GitHub
parent 6f4f1058e4
commit 0cf907be5f
12 changed files with 520 additions and 13 deletions

View File

@@ -0,0 +1,34 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "unifi_account Data Source - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_account data source can be used to retrieve RADIUS user accounts
---
# unifi_account (Data Source)
`unifi_account` data source can be used to retrieve RADIUS user accounts
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String) The name of the account to look up
### Optional
- `site` (String) The name of the site the account is associated with.
### Read-Only
- `id` (String) The ID of this account.
- `network_id` (String) ID of the network for this account
- `password` (String, Sensitive) The password of the account.
- `tunnel_medium_type` (Number) See RFC2868 section 3.2
- `tunnel_type` (Number) See RFC2868 section 3.1

View File

@@ -18,7 +18,7 @@ description: |-
### Optional
- `name` (String) The name of the RADIUS profile to look up. Defaults to `Default`.
- `site` (String) The name of the site the radius profile is associated with.
- `site` (String) The name of the site the RADIUS profile is associated with.
### Read-Only