terraform-provider-stackitp.../docs/data-sources/dns_record_set.md
Diogo Ferrão d6c677552f
Fix bug dns record name inconsistent (#307)
* add fqdn to model, map fqdn in mapFields

* add testing

* update examples, generate docs, fix linting

* addressed comments in PR

* add comment to acc tests, explaining ignore

* update docs
2024-03-25 11:45:29 +00:00

1.4 KiB

page_title subcategory description
stackit_dns_record_set Data Source - stackit DNS Record Set Resource schema.

stackit_dns_record_set (Data Source)

DNS Record Set Resource schema.

Example Usage

data "stackit_dns_record_set" "example" {
  project_id    = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  zone_id       = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  record_set_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Schema

Required

  • project_id (String) STACKIT project ID to which the dns record set is associated.
  • record_set_id (String) The rr set id.
  • zone_id (String) The zone ID to which is dns record set is associated.

Read-Only

  • active (Boolean) Specifies if the record set is active or not.
  • comment (String) Comment.
  • error (String) Error shows error in case create/update/delete failed.
  • fqdn (String) Fully qualified domain name (FQDN) of the record set.
  • id (String) Terraform's internal data source. ID. It is structured as "project_id,zone_id,record_set_id".
  • name (String) Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. example.com
  • records (List of String) Records.
  • state (String) Record set state.
  • ttl (Number) Time to live. E.g. 3600
  • type (String) The record set type. E.g. A or CNAME