-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Set a default value for envs in Cloud Run Job #13487
Conversation
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.
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. |
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. |
waiting for integration tests |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
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. |
Tests analyticsTotal tests: 51 Click here to see the affected service packages
🟢 All tests passed! View the build log |
e86e484
What?
google_cloud_run_v2_job
resource.Why?
env
set, theenv
set is re-ordered which results in a large diff, see Cloud Run env variables reordering causing resource to update in-place hashicorp/terraform-provider-google#7467 for an example. The cause for this seems to be that in the Terraform state the envvalue
is""
when using avalue_source
(i.e. a reference to agoogle_secret_manager_secret
), but in the plan the value isnil
(as it has not been set), which then triggers all of the envs to have changed.Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.