akamai / cli-terraform

Akamai CLI plugin Admin Support for multiple OpenAPI resource types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GTM export-domain fails with "cannot find datacenter resource with ID: 5400"

jaescalo opened this issue · comments

When running export-domain this is the error I see:

Error exporting domain HCL: executing template: properties.tmpl: template: properties.tmpl:77:49: executing "properties.tmpl" at <$.FindDatacenterResourceName>: error calling FindDatacenterResourceName: cannot find datacenter resource with ID: 5400

From my understanding the default datacenter (id 5400) is only used for Geo, AS, CIDR maps for the rest of the requests. I've tried a couple of GTM domains with these maps in them and I see the error consistently.

This error seems to be preventing the GTM properties to be converted to resources in the TF config files therefore making the GTM domain unmanageable by TF.

Thanks

Hi @jaescalo!

Thank you for pointing out this issue. I have already started working on creating a fix for it.

Regards,
Darek

Hi @jaescalo this issue should be fixed now with v1.1.1 release.