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
This commit is contained in:
parent
7223a5244c
commit
d6c677552f
9 changed files with 61 additions and 18 deletions
|
|
@ -1,7 +1,7 @@
|
|||
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"
|
||||
name = "example-record-set"
|
||||
type = "A"
|
||||
comment = "Example comment"
|
||||
records = ["1.2.3.4"]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
resource "stackit_dns_zone" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
name = "Example zone"
|
||||
dns_name = "www.example-zone.com"
|
||||
dns_name = "example-zone.com"
|
||||
contact_email = "aa@bb.ccc"
|
||||
type = "primary"
|
||||
acl = "192.168.0.0/24"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue