You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the following TF file, provide env0_api_key_id, env0_api_key_value and http_auth as TF_VAR. http_auth is Basic <the api key and value encoded in base64>, use the widget in our API reference to calculate it:
It is expected that output "agent_details" will print all the agent's details, but it doesn't.
Also, data "http" "agent_details_http" which hit the same API EP, does fetch the values, it can be seen by output "http_example_response".
@amit-alkobi-env0 - I reviewed it, and I don't see any issues with the code.
We may need to find some time to troubleshoot it together. Currently, I don't see any issues.
Motivation / Problem / The Why❔:
Getting agent details using the env0_agent_values doesn't work
How to reproduce:
Run the following TF file, provide
env0_api_key_id
,env0_api_key_value
andhttp_auth
as TF_VAR.http_auth
isBasic <the api key and value encoded in base64>
, use the widget in our API reference to calculate it:It is expected that
output "agent_details"
will print all the agent's details, but it doesn't.Also,
data "http" "agent_details_http"
which hit the same API EP, does fetch the values, it can be seen byoutput "http_example_response"
.Expected Result / DoD ✅:
"env0_agent_values" works as expected.
The text was updated successfully, but these errors were encountered: