Skip to content

Conversation

@mikebaum
Copy link
Contributor

@mikebaum mikebaum commented Jun 2, 2023

Updated the apply, destroy, init, plan, and show runner actions to support the using providers running in debug mode as configured by the TF_REATTACH_PROVIDERS environment variable.

Checklist

  • The commit message includes an explanation of the changes
  • Manual validation of the changes have been performed (if possible)
  • New or modified code has requisite test coverage (if possible)
  • I have performed a self-review of the changes
  • I have made necessary changes and/or pull requests for documentation
  • I have written useful comments in the code

@mikebaum mikebaum requested a review from a team as a code owner June 2, 2023 18:20
@mikebaum mikebaum added the changelog/feat New feature or enhancement. Will be included in "New Features" category in release notes. label Jun 2, 2023
// UnMarshallReattachInfo unmarshalls the reattach providers configuration string into a tfexec.ReattachOption.
func UnMarshallReattachInfo(reattachInfo string) (*tfexec.ReattachOption, error) {
var info tfexec.ReattachInfo
err := json.Unmarshal([]byte(reattachInfo), &info)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is Unmarshal but you've used Unmarshall in the other func names, we should be consistent (also english is terrible)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feat New feature or enhancement. Will be included in "New Features" category in release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants