Skip to content

Conversation

liamcervante
Copy link
Member

Connect the -invoke flag up with the cloud backend. The changes to go-tfe required for this change are still in draft, so this PR is just an example of how to do this once the necessary changes have been made to go-tfe.

Target Release

1.14.x

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

@liamcervante liamcervante added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Sep 1, 2025
@liamcervante liamcervante force-pushed the liamcervante/cloud/invoke branch from 2b1233e to 5a31988 Compare October 7, 2025 09:07
@liamcervante liamcervante added the 1.14-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Oct 7, 2025
@liamcervante liamcervante marked this pull request as ready for review October 8, 2025 11:37
@liamcervante liamcervante requested review from a team as code owners October 8, 2025 11:37
Comment on lines +1643 to +1647
func (m *MockStateVersions) UploadSanitizedState(ctx context.Context, sanitizedStateUploadURL *string, sanitizedState []byte) error {
//TODO implement me
panic("implement me")
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this intended for this PR? I don't see it used elsewhere.

Copy link
Member Author

@liamcervante liamcervante Oct 8, 2025

Choose a reason for hiding this comment

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

it's just required because the underlying interface in go-tfe has changed - nothing uses it but I need to implement the function otherwise the tests don't compile.

Copy link
Contributor

Choose a reason for hiding this comment

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

Right on, thanks!

ctrombley
ctrombley previously approved these changes Oct 8, 2025
Copy link
Contributor

@ctrombley ctrombley left a comment

Choose a reason for hiding this comment

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

LGTM, I left one small comment but not a blocker.

@liamcervante liamcervante merged commit 6b17cfe into main Oct 8, 2025
7 checks passed
@liamcervante liamcervante deleted the liamcervante/cloud/invoke branch October 8, 2025 17:29
liamcervante added a commit that referenced this pull request Oct 8, 2025
* actions: connect invoke flag with TFC

* use latest go-tfe
liamcervante added a commit that referenced this pull request Oct 8, 2025
* actions: connect invoke flag with TFC

* use latest go-tfe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.14-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged no-changelog-needed Add this to your PR if the change does not require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants