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
@dkirrane The Terraform Cloud/Enterprise API supports the UI when adding comments to runs, but our API docs and this SDK don't seem to expose it yet. I've logged this as a feature request. There are a handful of API endpoints that go-tfe doesn't yet support and we are tracking these for future releases. Most likely, comments will need to be created by invoking a separate Comments.Create function instead of setting a Comment field on a plan-only Run.
In the meantime, another option is to populate the Message field of the RunCreateOptions. In the UI, this appears here:
For a Speculative Plan I'd like to add a comment.
However, RunCreateOptions doesn't provide an option.
I can set a comment for Apply but not for Runs that are plan only.
The text was updated successfully, but these errors were encountered: