citrix / terraform-provider-citrixadc

Part of NetScaler Automation Toolkit | https://github.com/netscaler/automation-toolkit
https://registry.terraform.io/providers/citrix/citrixadc
Apache License 2.0
118 stars 59 forks source link

Add query_args argument to nitro_info #1178 #1194

Open rein-tollevik opened 1 month ago

rein-tollevik commented 1 month ago

This pull request adds a new "query_args" argument to the citrixadc_nitro_info data source, as requested in issue #1178. The value of query_args is a map with key/value pairs that, when specified, will be added as query string key=value pairs when making the request to the workflow endpoint.

Logically I would have preferred that the new argument was part of the lifecycle argument, alongside its endpoint key. But I was unable get the go framework to accept a map as the value of a query_args key in workflow.