akamai / terraform-provider-akamai

Terraform Akamai provider

Home Page:https://www.terraform.io/docs/providers/akamai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DXE-3418 [Request] Missing mapping for /config-dns/v2/zones/dns-sec-status

aci-payon-ops opened this issue · comments

Hello!

I believe that there is no way to fetch the DNSSEC status with the latest version of the Akamai Terraform provider.
The akamai_dns_zone resource does not map these details, and that is likely the correct choice given that there is a different API endpoint for the DNSSEC status.

Thus, adding a dedicated datasource akamai_zone_dnssec_status which maps /config-dns/v2/zones/dns-sec-status would be a useful addition.

Terraform Version

Terraform v1.6.4
on linux_amd64

  • provider registry.terraform.io/akamai/akamai v5.5.0

Affected Resource(s)

N/A, resource is not implemented.

Terraform Configuration Files

Example usage:

data "akamai_zone_dnssec_status" "example_com" {
  zone = "example.com"
}

output "example_com_dnskey" {
  value = akamai_zone_dnssec_status.example_com.dnskey_record
}

output "example_com_ds" {
  value = akamai_zone_dnssec_status.example_com.ds_record
}

I hope this can be implemented to allow end-to-end DNS provisioning with Terraform including DNSSEC.

Best regards,
Fabian

Hi @aci-payon-ops,

Thank you for reporting this request. We will investigate it and come back to you.

Hi @aci-payon-ops , this issue should be fixed in the recent release.