chore(terraform): bump submodule to Go SDK migration head#278
Open
Leechael wants to merge 1 commit into
Open
Conversation
Points terraform/ at d7a9414 (refactor/use-go-sdk in Phala-Network/terraform-provider-phala#4 after the 2026-05 force-push). The previously recorded commit 47dcd99 was the head of PR #4 before it was rebased onto terraform main + force-pushed to absorb every feature that landed since the PR was first opened (per-instance state under phala_app.instances, MIG named-slot via phala_app_instance, ValidateConfig members invariants, ModifyPlan members-mode guardrail, stable primary selection, in-place env updates with diff detection, replicas-drop break, preflight resource), all now wired through the Go SDK. Supersedes #248: that PR bumped to v0.2.0-beta.3 (40716e8) before the SDK migration was rebased. Close #248 when this merges; the Go SDK head subsumes the env-update fix. Note: d7a9414 is the head of an unmerged PR branch. The pointer should be re-bumped to the squash-merge commit once terraform-provider-phala#4 lands on main.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the
terraform/submodule pointer from47dcd99(orphaned — old PR #4 head before force-push) tod7a9414(current head ofrefactor/use-go-sdkin terraform-provider-phala#4).What this picks up
The terraform PR was rebased onto terraform main + force-pushed, absorbing every feature that landed since the PR was first opened in March, all now wired through the Go SDK (
github.com/Phala-Network/phala-cloud/sdks/go):phala_app.instances(was cccccf1 on terraform main)phala_app_instance+phala_app.members(626cfb2)ValidateConfigmembers invariants (46cf1c3)ModifyPlanmembers-mode guardrail (36181d5)phala_app_instance(c08da9e)phala_app.name(e52e015)phala_app_preflightresource + data source (52585a4)APIErrorcodes/suggestions surface in Terraform diagnosticsThe migration commit deletes ~37k lines of duplicated client code (oapi-codegen output + hand-rolled
APIClient/cvmAPIResponse).Supersedes
v0.2.0-beta.3(40716e8) before the Go SDK migration was rebased. Close chore(terraform): bump submodule to v0.2.0-beta.3 #248 when this merges; the Go SDK head already includes the env-update fix it was targeting.Caveats
d7a9414is the head of an unmerged PR branch. Re-bump this pointer to the squash-merge commit once terraform-provider-phala#4 lands on its main.sdks/go/v0.x.y(the existingsdks/go/v0.1.1predates thego/→sdks/go/directory rename and isn't fetchable). Until a new tag, terraform provider CI relies on the sparse-checkout dance documented interraform/.github/workflows/.Test plan
git submodule update --init terraformresolves cleanly tod7a9414MERGEABLE(no conflicts) and CI green on its branch