akamai / cli-terraform

Akamai CLI plugin Admin Support for multiple OpenAPI resource types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DXE-2798 export-property error: dereference of nil pointer of type string

jjgrinwis opened this issue · comments

When trying to export a property using the --schema option we're getting an error:

Fetching property lendicotest [==== ] Fetching property lendicotest. ... [OK]
Fetching group [===== ] Fetching group ... [OK]
Fetching property version [ ] Fetching property version ... [OK]
Fetching property rules [==== ] Fetching property rules ... [OK]
Fetching product name [===== ] Fetching product name ... [OK]
Fetching hostnames [ ] Fetching hostnames ... [OK]
Fetching activation details [= ] Fetching activation details ... [OK]
Saving TF configurations ... [FAIL]
Error exporting property: saving terraform project files: executing template: rules_v2023-01-05.tmpl: template: rules_v2023-01-05.tmpl:9520:44: executing "rules_builder" at : dereference of nil pointer of type string

we upgraded property rule format to v2023-01-05 and saved the property before trying to export it.

Problem is with null values for description and value fields. As a workaround please assign some values. We will work on correcting the export.

This issue is fixed in recent release.