feat(datapipeline): add desired_state virtual field for pipeline state management#18214
feat(datapipeline): add desired_state virtual field for pipeline state management#18214vr-ibm wants to merge 3 commits into
Conversation
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 5d14367: Diff reportYour PR generated the following diffs in downstream repositories:
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_data_pipeline_pipeline" "primary" {
desired_state = # value needed
}
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
Caution Issues requiring attention before PR completion 🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details. Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer. View the recording VCR build log or the debug logs folder for detailed results. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit f9c80f1: Diff reportYour PR generated the following diffs in downstream repositories:
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
🟢 All tests passed! View the recording VCR build log or the debug logs folder for detailed results. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 905d8e0: Diff reportYour PR generated the following diffs in downstream repositories:
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode 🟢 All tests passed in Replaying mode! No Recording was needed. View the replaying VCR build log |
Fixes hashicorp/terraform-provider-google#23879
Adds a
desired_statevirtual field togoogle_data_pipeline_pipelinethat allows users to control the pipeline state (pause/resume) via Terraform. Previously, thestatefield was marked as required and immutable, which prevented users from managing pipeline lifecycle after creation.Details
stateto output-only (it reflects the current API state)desired_statevirtual field acceptingSTATE_ACTIVEorSTATE_PAUSEDpost_createhook to set state ifdesired_statediffers from defaultpost_updatehook to call stop/run API whendesired_statechangesCustomizeDiffvalidation to restrictdesired_statevaluesstopandrunAPI endpoints