* 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
46 lines
1.3 KiB
Markdown
46 lines
1.3 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "unifi_dynamic_dns Resource - terraform-provider-unifi"
|
|
subcategory: ""
|
|
description: |-
|
|
unifi_dynamic_dns manages dynamic DNS settings for different providers.
|
|
---
|
|
|
|
# unifi_dynamic_dns (Resource)
|
|
|
|
`unifi_dynamic_dns` manages dynamic DNS settings for different providers.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "unifi_dynamic_dns" "test" {
|
|
service = "dyndns"
|
|
|
|
host_name = "my-network.example.com"
|
|
|
|
server = "domains.google.com"
|
|
login = var.dns_login
|
|
password = var.dns_password
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `host_name` (String) The host name to update in the dynamic DNS service.
|
|
- `service` (String) The Dynamic DNS service provider, various values are supported (for example `dyndns`, etc.).
|
|
|
|
### Optional
|
|
|
|
- `interface` (String) The interface for the dynamic DNS. Can be `wan` or `wan2`. Defaults to `wan`.
|
|
- `login` (String) The server for the dynamic DNS service.
|
|
- `password` (String, Sensitive) The server for the dynamic DNS service.
|
|
- `server` (String) The server for the dynamic DNS service.
|
|
- `site` (String) The name of the site to associate the dynamic DNS with.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) The ID of the dynamic DNS.
|