EdgeDNS akamai_dns_zone template incorrect for tsig_key
jaescalo opened this issue · comments
The EdgeDNS create-zone command is adding tsig_key as an argument instead of a block for the akamai_dns_zone resource in the main tf file.
Because of this when Terraform tries to run the code it results in the error:
│ An argument named "tsig_key" is not expected here. Did you mean to define a block of type "tsig_key"?
tsig_key as argument (INCORRECT):
tsig_key = {
name = "example.com"
algorithm = "hmac-sha256"
secret = "xxx"
}
tsig_key as block (CORRECT):
tsig_key {
name = "example.com"
algorithm = "hmac-sha256"
secret = "xxx"
}
Hello @jaescalo
Thank You for opening this issue ticket. You are right, the tsig_key should be a block, not an argument. We will fix it.
Regards,
Wojciech
Hi @jaescalo, this issue was fixed in recent release.