terraform-provider-akamai
terraform-provider-akamai copied to clipboard
how to get security policy name
akamai_appsec_security_policy return a set of policy id and no json. is there an easy way to get policy name based on pollicy id?
The akamai_appsec_security_policy data source does not currently return policy names as part of its security_policy_id_list attribute. As a workaround, you can parse the output_text attribute, which will contain a few header rows followed by a sequence of ID, NAME columns.
in coding that's a pain to code. as an improvement, can we have it return a json output.
We will add a "json" computed output to this resource in the next release, to include the ID & name information in JSON form. [SECKSD-17112]
This issue should be now addressed with most recent release. Closing the ticket.