Skip to content

Commit df8cf12

Browse files
Set a default value for envs in Cloud Run Job (#13487) (#9681)
[upstream:e86e484d9bb1d72b351fde4f92ebfebb374e6b26] Signed-off-by: Modular Magician <[email protected]>
1 parent f707c00 commit df8cf12

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.changelog/13487.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
cloudrunv2: fixed the diffs for unchanged `template.template.containers.env` in `google_cloud_run_v2_job` resource
3+
```

google-beta/services/cloudrunv2/resource_cloud_run_v2_job.go

+1
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,7 @@ func cloudrunv2JobTemplateTemplateContainersContainersEnvSchema() *schema.Resour
808808
Type: schema.TypeString,
809809
Optional: true,
810810
Description: `Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.`,
811+
Default: "",
811812
},
812813
"value_source": {
813814
Type: schema.TypeList,

0 commit comments

Comments
 (0)