hashicorp / hcp

HCP Command-Line Interface
Mozilla Public License 2.0
9 stars 1 forks source link

Waypoint Agent: Update execute to parse all waypoint variables #146

Closed briancain closed 1 month ago

briancain commented 1 month ago

Changes proposed in this PR:

This commit updates the Waypoint agent CLI to handle all possible variable values that it could receive from the server.

Fixes WAYP-2914

How I've tested this PR:

Wrote some unit tests.

How I expect reviewers to test this PR:

Possibly build a local copy and attempt to run agent-typed actions with variables.

Checklist:

briancain commented 1 month ago

I'm gonna go ahead and close since I'm going to try a different way @evanphx mentioned for building the variable map for HCL since it sounds more maintainable to me! I will re-open when it's ready for review 🫡