akamai / cli-terraform

Akamai CLI plugin Admin Support for multiple OpenAPI resource types
Apache License 2.0
21 stars 11 forks source link

error during export of property with rule format v2024-05-31 #73

Closed michelk1976 closed 1 week ago

michelk1976 commented 1 week ago

The latest supported rule format for Akamai Terraform is v2024-02-12 (https://techdocs.akamai.com/terraform/reference/rule-format-changes).

But when I try to export a property with this rule format it fails:

$ akamai terraform export-property --rules-as-hcl AkamaiDefault-v2024-02-12 Fetching property AkamaiDefault-v2024-02-12 [OK] Fetching group [OK] Fetching property version [OK] Fetching property rules [OK] Fetching product name [OK] Fetching hostnames [OK] Fetching activation details [OK] Error exporting property: unsupported rule format: v2024-02-12

Can you please advise on when a newer rule format will be supported?

lsadlon commented 1 week ago

Hi @michelk1976

Which version of terraform provider and cli-terraform are you using? v2024-02-12 rules is supported from v6.0.0 terraform provider and from v1.13.0 cli-terraform. In title you mention also v2024-05-31, which is not supported yet, but is planed for upcoming release.

BR, Lukasz

michelk1976 commented 1 week ago

Damn my bad. Thank you so much for your reply.