terraform-provider-iterative icon indicating copy to clipboard operation
terraform-provider-iterative copied to clipboard

Standalone command-line tool follow-up

Open 0x2b3bfa0 opened this issue 2 years ago • 2 comments

Continuation of https://github.com/iterative/terraform-provider-iterative/pull/610

Functionality

Note that the Visual Studio Code Remote use case already provides both capabilities out of the box, so we don't have to implement anything on our code base yet if we only prioritize that use case.

  • https://github.com/iterative/terraform-provider-iterative/issues/291
  • https://github.com/iterative/terraform-provider-iterative/issues/531

User Experience

  • [x] https://github.com/iterative/terraform-provider-iterative/issues/638
  • [ ] Allow users to specify custom identifiers with a random suffix
  • [ ] Provide sensible logger output for TTY and non-TTY formats
  • [ ] Separate commands to list logs & general status[^2]

[^1]: Unlike in Terraform HCL, values must not contain arithmetic expressions (e.g. 60*60*24 is not valid, but 86400 is valid). Also, declaring multiple resource blocks produces undefined behavior; i.e. defined behavior, but too contrived to explain in a footnote; definitely not what users expect. [^2]: With a special case for $parallelism > 1$ where users can filter logs for a single task.

0x2b3bfa0 avatar Jul 01 '22 23:07 0x2b3bfa0

after a "Provide sensible logger output for TTY and non-TTY formats" I think an attach type command would be helpful to "live" monitor a task.

dacbd avatar Jul 14 '22 19:07 dacbd

Part of “Separate commands to list logs & general status” to my mind. It could be log --follow or similar?

0x2b3bfa0 avatar Jul 15 '22 13:07 0x2b3bfa0

Closing in favor of https://github.com/iterative/terraform-provider-iterative/issues/666, which holds the remaining items 😈

0x2b3bfa0 avatar Sep 14 '22 10:09 0x2b3bfa0