* Fix internal ID strucutre description * Add example to MIGRATION.md * Add SKE example * Add LogMe instance and note for import issue
1.4 KiB
1.4 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_dns_record_set Resource - stackit | DNS Record Set Resource schema. |
stackit_dns_record_set (Resource)
DNS Record Set Resource schema.
Example Usage
resource "stackit_dns_record_set" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
zone_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-record-set.www.example-zone.com"
type = "A"
comment = "Example comment"
records = ["1.2.3.4"]
}
Schema
Required
name(String) Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g.example.comproject_id(String) STACKIT project ID to which the dns record set is associated.records(List of String) Records.zone_id(String) The zone ID to which is dns record set is associated.
Optional
active(Boolean) Specifies if the record set is active or not.comment(String) Comment.ttl(Number) Time to live. E.g. 3600type(String) The record set type. E.g.AorCNAME
Read-Only
error(String) Error shows error in case create/update/delete failed.id(String) Terraform's internal resource ID. It is structured as "project_id,zone_id,record_set_id".record_set_id(String) The rr set id.state(String) Record set state.