esc icon indicating copy to clipboard operation
esc copied to clipboard

Preview should show provider output shape

Open lblackstone opened this issue 1 year ago • 0 comments

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

ESC providers are schematized, so it should be possible to show expected outputs with [unknown] values during preview. The current behavior is to show the entire output as [unknown].

For example, the aws-login provider has preview output like this:

{
  "aws": {
    "creds": "[unknown]"
  }
}

It would be more useful if it looked like this instead:

{
  "aws": {
    "creds": {
      "accessKeyId": "[unknown]",
      "secretAccessKey": "[unknown]",
      "sessionToken": "[unknown]"
    }
  }
}

Affected area/feature

lblackstone avatar Nov 08 '23 23:11 lblackstone