terraform-provider-stackit
terraform-provider-stackit copied to clipboard
DNS Zone Observability Extension
Problem description
The resource stackit_dns_zone does not support enabling the observability feature of a DNS zone. Enabling the feature via API seems to be supported already:
https://docs.api.eu01.stackit.cloud/documentation/dns/version/v1#tag/zone/operation/post-zone
Proposed solution
The resource supports enabling the observability extension similar to other resources.
resource "stackit_dns_zone" "example" {
project_id = "project_id"
name = "Zone Name"
dns_name = "runson.stackit.cloud"
contact_email = "[email protected]"
type = "primary"
description = "Zone Description"
default_ttl = 1230
extensions = {
observability = {
enabled = true
instance_id = "observability_instance_id"
}
}
}
Hi @HartmannVolker, thank you for reporting this issue. We will have a look at this.