You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Set commands for the job that are passed to start job run containers. If not specified an empty string array will be applied and the command specified by the container image, will be used to start the container.",
75
75
Elem: &schema.Schema{Type: schema.TypeString},
76
76
},
77
+
"run_compute_resource_token_enabled": {
78
+
Type: schema.TypeBool,
79
+
Optional: true,
80
+
Default: false,
81
+
Description: "Enable the use of a compute resource token mounted to the container file system.",
82
+
},
77
83
"run_env_variables": {
78
84
Type: schema.TypeList,
79
85
Optional: true,
@@ -423,6 +429,9 @@ func resourceIbmCodeEngineJobCreate(context context.Context, d *schema.ResourceD
423
429
}
424
430
createJobOptions.SetRunCommands(runCommands)
425
431
}
432
+
if_, ok:=d.GetOk("run_compute_resource_token_enabled"); ok {
Copy file name to clipboardExpand all lines: website/docs/d/code_engine_job.html.markdown
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,9 @@ Nested schema for **computed_env_variables**:
85
85
*`run_commands` - (List) Set commands for the job that are passed to start job run containers. If not specified an empty string array will be applied and the command specified by the container image, will be used to start the container.
86
86
* Constraints: The list items must match regular expression `/^.*$/`. The maximum length is `100` items. The minimum length is `0` items.
87
87
88
+
*`run_compute_resource_token_enabled` - (Bool) Enable the use of a compute resource token mounted to the container file system.
89
+
* Constraints: The default value is `false`.
90
+
88
91
*`run_env_variables` - (List) References to config maps, secrets or literal values, which are exposed as environment variables in the job run.
89
92
* Constraints: The maximum length is `100` items. The minimum length is `0` items.
0 commit comments