Files
terraform-provider-unifi/docs/resources/setting_country.md
Mateusz Filipowicz b9284f7758 docs: improve documentation for 1.0.0 release (#75)
* docs: add examples and recreate TF documentation

* update readme

* add information about experimental support of firewall zones
2025-03-22 19:13:16 +01:00

1.2 KiB

page_title, subcategory, description
page_title subcategory description
unifi_setting_country Resource - terraform-provider-unifi The unifi_setting_country resource allows you to configure the country settings for your UniFi network.

unifi_setting_country (Resource)

The unifi_setting_country resource allows you to configure the country settings for your UniFi network.

Example Usage

resource "unifi_setting_country" "example" {
  # Set the country code using ISO 3166-1 alpha-2 format
  # This example sets the country to United States
  code = "US"
  
  # Specify the site (optional, defaults to site configured in provider, otherwise "default")
  # site = "default"
}

Schema

Required

  • code (String) The country code to set for the UniFi site. The country code must be a valid ISO 3166-1 alpha-2 code.

Optional

  • site (String) The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.

Read-Only

  • code_numeric (Number) The numeric representation in ISO 3166-1 of the country code.
  • id (String) The unique identifier of this resource.