Skip to content

Set a default value for envs in Cloud Run Job #13487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

oliver-hohn
Copy link
Contributor

What?

Why?

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

cloudrunv2: fixed the diffs for unchanged `template.template.containers.env` in `google_cloud_run_v2_job` resource

What?
- Make a similar change to #13363
  but for the `google_cloud_run_v2_job` resource.

Why?
- Currently, when a new env variable is added to the `env` set, the
  `env` set is re-ordered which results in a large diff,
  see hashicorp/terraform-provider-google#7467
  for an example.
Copy link

google-cla bot commented Mar 28, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Mar 28, 2025
Copy link

Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: see go/terraform-auto-test-runs to set up automatic test runs.

@ScottSuarez, 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.

@modular-magician modular-magician removed the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Mar 28, 2025
@ScottSuarez
Copy link
Contributor

waiting for integration tests

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 1 insertion(+))
google-beta provider: Diff ( 1 file changed, 1 insertion(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field template.template.containers.env.value default value changed from to on google_cloud_run_v2_job - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 51
Passed tests: 46
Skipped tests: 5
Affected tests: 0

Click here to see the affected service packages
  • cloudrunv2

🟢 All tests passed!

View the build log

@ScottSuarez ScottSuarez added the override-breaking-change Allows a potential breaking change to be merged label Mar 28, 2025
@ScottSuarez ScottSuarez added this pull request to the merge queue Mar 28, 2025
Merged via the queue into GoogleCloudPlatform:main with commit e86e484 Mar 28, 2025
22 of 23 checks passed
Dawid212 pushed a commit to Dawid212/magic-modules that referenced this pull request Apr 9, 2025
pandirigoog pushed a commit to pandirigoog/magic-modules that referenced this pull request Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
override-breaking-change Allows a potential breaking change to be merged service/run
Projects
None yet
3 participants