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
│ id: terraform-0e9280e9
│ summary: 'CreateJobWithContext failed: Bad payload - The field ''scale_max_execution_time''
│ is invalid. reason: INVALID'
│ severity: error
│ resource: ibm_code_engine_job
│ operation: create
│ component:
│ name: github.com/IBM-Cloud/terraform-provider-ibm
│ version: 1.71.3
│ ---
│
│
│ with module.job.ibm_code_engine_job.ce_job,
│ on .terraform/modules/job/modules/job/main.tf line 8, in resource "ibm_code_engine_job" "ce_job":
│ 8: resource "ibm_code_engine_job" "ce_job" {
│
Expected behavior
Should have been able to create a Code Engine job with type daemon.
Actual behavior
It fails a series of validation checks, even if scale_max_execution_time = null or set to empty. It looks like the provider must not see this field at all for run_mode = daemon to work properly.
Steps to reproduce (including links and screen captures)
In task mode, the max_execution_time and retry_limit properties apply. In daemon mode, since there is no timeout and failed instances are restarted indefinitely, the max_execution_time and retry_limit properties are not allowed.
The text was updated successfully, but these errors were encountered:
Affected modules
Terraform CLI and Terraform provider versions
Terraform output
Expected behavior
Should have been able to create a Code Engine job with type daemon.
Actual behavior
It fails a series of validation checks, even if
scale_max_execution_time = null
or set to empty. It looks like the provider must not see this field at all for run_mode = daemon to work properly.Steps to reproduce (including links and screen captures)
terraform apply
Anything else
Here is the documentation on "run_mode"
The text was updated successfully, but these errors were encountered: