profile
viewpoint

Ask questionsUnable to view any output

Hi,

I am trying to do some GETS on an API which returns JSON's inside a list. The output query that I am trying to use is as below

data "restapi_object" "test" {
  path = "/api/credentials"
  search_value = "test-creds"
  search_key = "credentials_name"
}
  value = jsondecode(data.restapi_object.test.api_response)
}

What am I doing wrong? Niraj

Mastercard/terraform-provider-restapi

Answer questions niraj8241

So, when the problem is that I am unable to print any output. I was able to see the results array in my debug terraform output which confirms that the config is right and the only problem I have is while printing output.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List