Skip to content

Update dataproc batch tests to use new public bucket. - #18638

Open
animeshnandanwar wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
animeshnandanwar:animeshnandanwar-patch-1
Open

Update dataproc batch tests to use new public bucket.#18638
animeshnandanwar wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
animeshnandanwar:animeshnandanwar-patch-1

Conversation

@animeshnandanwar

Copy link
Copy Markdown
Contributor

Update dataproc batch tests to use new public bucket.

Fixes hashicorp/terraform-provider-google#25952
Fixes hashicorp/terraform-provider-google#25955

dataproc: Updated `terraform-batches` bucket to `terraform-serverless` bucket to fix `google_dataproc_batch` resource tests.

The existing bucket has revoked public access due to org policy updates. Updated bucket to match public access requirement.

Fixes hashicorp/terraform-provider-google#25952
Fixes hashicorp/terraform-provider-google#25955
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Aug 13, 2026
@github-actions
github-actions Bot requested a review from SirGitsalot August 13, 2026 19:48
@github-actions

Copy link
Copy Markdown

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@SirGitsalot, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@SirGitsalot SirGitsalot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, but I'm concerned about the provenance of the script. If it's not actually executed then this PR is good to go.


pyspark_batch {
main_python_file_uri = "https://storage.googleapis.com/terraform-batches/test_util.py"
main_python_file_uri = "https://storage.googleapis.com/terraform-serverless/test_util.py"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

When the test run and the google_dataproc_batch resource is created, does this script get executed? And if so, what does it do and what access control is applied to it?

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

Labels

awaiting-approval Pull requests that need reviewer's approval to run presubmit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing test(s): TestAccDataprocBatch_dataprocBatchSparkrExample Failing test(s): TestAccDataprocBatch_dataprocBatchPysparkExample

3 participants