mirror of
https://github.com/netbirdio/terraform-provider-netbird.git
synced 2026-05-22 17:13:16 -07:00
1023 B
1023 B
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| netbird_reverse_proxy_domain Data Source - netbird | Look up a reverse proxy domain by ID, domain name, or type. |
netbird_reverse_proxy_domain (Data Source)
Look up a reverse proxy domain by ID, domain name, or type.
Example Usage
# Retrieve by domain name
data "netbird_reverse_proxy_domain" "example" {
domain = "app.example.netbird.cloud"
}
# Retrieve the free domain
data "netbird_reverse_proxy_domain" "free" {
type = "free"
}
# Retrieve by ID
data "netbird_reverse_proxy_domain" "by_id" {
id = "cvit5sjl0ubs73aslrkg"
}
Schema
Optional
domain(String) Domain nameid(String) Domain IDtype(String) Type of reverse proxy domain (free, custom)validated(Boolean) Whether the domain has been validated
Read-Only
target_cluster(String) The proxy cluster this domain is validated against