* feat: initialize Terraform Plugin Framework * fix docker-compose path for tests * fix: ensure documentation can be generated with old provider SDK and new plugin framework * lint
52 lines
1.1 KiB
Markdown
52 lines
1.1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "unifi_setting_mgmt Resource - terraform-provider-unifi"
|
|
subcategory: ""
|
|
description: |-
|
|
unifi_setting_mgmt manages settings for a unifi site.
|
|
---
|
|
|
|
# unifi_setting_mgmt (Resource)
|
|
|
|
`unifi_setting_mgmt` manages settings for a unifi site.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "unifi_site" "example" {
|
|
description = "example"
|
|
}
|
|
|
|
resource "unifi_setting_mgmt" "example" {
|
|
site = unifi_site.example.name
|
|
auto_upgrade = true
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Optional
|
|
|
|
- `auto_upgrade` (Boolean) Automatically upgrade device firmware.
|
|
- `site` (String) The name of the site to associate the settings with.
|
|
- `ssh_enabled` (Boolean) Enable SSH authentication.
|
|
- `ssh_key` (Block Set) SSH key. (see [below for nested schema](#nestedblock--ssh_key))
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) The ID of the settings.
|
|
|
|
<a id="nestedblock--ssh_key"></a>
|
|
### Nested Schema for `ssh_key`
|
|
|
|
Required:
|
|
|
|
- `name` (String) Name of SSH key.
|
|
- `type` (String) Type of SSH key, e.g. ssh-rsa.
|
|
|
|
Optional:
|
|
|
|
- `comment` (String) Comment.
|
|
- `key` (String) Public SSH key.
|