terraform-provider-mozout/docs/data-sources/catalog_tlds.md
2026-11-28 15:28:08 +02:00

33 lines
864 B
Markdown

---
page_title: "mozout_catalog_tlds Data Source - MozOut"
subcategory: "Catalog"
description: |-
Domain extensions with register, renew and transfer prices.
---
# mozout_catalog_tlds (Data Source)
The domain extensions sold by MozOut, with prices by number of years.
## Example Usage
```terraform
data "mozout_catalog_tlds" "local" {
extension = ".com"
}
output "register_1_year" {
value = data.mozout_catalog_tlds.local.tlds[0].register["1"]
}
```
## Schema
### Optional
- `extension` (String) Only this extension, such as `.com`.
- `currency` (String) Currency code. Default: the account currency.
### Read-Only
- `tlds` (List of Object) `extension`, `currency`, `register`, `renew` and `transfer` (Map of Number, by years: `"1"`, `"2"`...), `dns_management`, `transfer_code_required`. A number of years that is not in the map is not available.