Repository navigation
Conversation
…ource (beta) XManager is turned on and off with the cluster's :enableXmanager and :disableXmanager methods, and there's no update or get call, so this is an immutable resource keyed by the cluster. Read uses the cluster's runtime.xmanager, and since the API doesn't return the inputs they're ignore_read.
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 8c75941: Diff reportYour PR generated the following diffs in downstream repositories:
Exhaustive test report✅ Click here to see exhaustive test resultsAll newly added resource fields have exhaustive lifecycle test coverage ( Legend: ✅ Covered (no action needed) · ➖ Exempt (no action needed) · ❌ MISSING (action needed)
|
| Status | Field Path | Kind | SET | MODIFY | UNSET |
|---|---|---|---|---|---|
| ✅ | model_development_cluster |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | network |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | region |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | subnetwork |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | xprof_config |
NestedBlock | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerBasicExample (step 1), omitted |
| ✅ | xprof_config.gcs_bucket_uri |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
Test report
Analytics
| Total Tests | Passed | Skipped | Affected |
|---|---|---|---|
| 176 | 163 | 11 | 2 |
Affected Service Packages
- vertexai
Step 1: Replaying Mode
Action taken
Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.
Click here to see the affected tests
- TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerBasicExample
- TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample
View the replaying VCR build log
Step 2: Recording Mode
| Recording Mode | Findings | Test Name |
|---|---|---|
| ✅ Log | - | TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerBasicExample |
| ✅ Log | - | TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample |
🟢 All tests passed!
View the recording VCR build log or the debug logs folder for detailed results.
unused-template-check only finds sample templates through steps, so the 0-step shorthand made it report the sample templates as unused. The generated tests and docs don't change.
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit a071137: Diff reportYour PR generated the following diffs in downstream repositories:
Exhaustive test report✅ Click here to see exhaustive test resultsAll newly added resource fields have exhaustive lifecycle test coverage ( Legend: ✅ Covered (no action needed) · ➖ Exempt (no action needed) · ❌ MISSING (action needed)
|
| Status | Field Path | Kind | SET | MODIFY | UNSET |
|---|---|---|---|---|---|
| ✅ | model_development_cluster |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | network |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | region |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | subnetwork |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | xprof_config |
NestedBlock | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerBasicExample (step 1), omitted |
| ✅ | xprof_config.gcs_bucket_uri |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
Test report
Analytics
| Total Tests | Passed | Skipped | Affected |
|---|---|---|---|
| 176 | 165 | 11 | 0 |
Affected Service Packages
- vertexai
Step 1: Replaying Mode
🟢 All tests passed in Replaying mode! No Recording was needed.
View the replaying VCR build log
Adds
google_vertex_ai_model_development_cluster_xmanager(beta), which turns on a managed XManager instance for a GKEgoogle_vertex_ai_model_development_cluster. This replaces #20347, which did the same thing with a field on the cluster.The API only has
:enableXmanagerand:disableXmanageron the cluster, with no update or get, and it allows one XManager instance per cluster. So this is its own immutable resource keyed by the cluster, the same shape asgoogle_firebase_storage_bucket(:addFirebase/:removeFirebase). Any change shows up as a replace in the plan, a failed enable only taints this resource instead of the cluster, and the cluster resource doesn't change at all.Things worth a look:
runtime.xmanager(see the decoder), since there's no get for XManager instances. If XManager gets disabled outside Terraform, the resource drops out of state.runtime.xmanager, but the cluster reads that before XManager is enabled, so it stays empty until the next refresh. These are set as soon as the enable finishes.network,subnetwork, andxprof_configaren't returned by the API, so they'reignore_read. The docs note covers what that means after an import.replace_triggered_byon the cluster'sid.regionis required instead of coming from the provider default, since it has to match the cluster's region.:disableXmanager. If a test dies mid-run, the cluster sweeper still deletes the cluster, which removes the XManager endpoints from the VPC, but the XManager instance itself is left behind on the service side. Happy to add a small handwritten sweeper if you'd like one.auth_config, anyone who can reach the instance's endpoints in the VPC can use it. That's in a follow-up PR, vertexai: add auth_config to google_vertex_ai_model_development_cluster_xmanager (beta) #20585.Both samples pass against a real project. Each one creates its own GKE-backed cluster in us-east1 and takes about 65 minutes, mostly cluster creation and XManager setup and teardown.
b/582339842, b/581399661