Describe the issue
I want to override a job parameter default value in a target configuration, so that when deploying the job to that target, the job parameter has a different default value.
Configuration
Have a job with a parameter.
Try to override the job parameter in the target
targets:
my_target:
...
resources:
jobs:
my_job:
parameters:
- name : my_job_param
default: my_new_default
Steps to reproduce the behavior
Deploy the job to the target.
Expected Behavior
Job deploys with new job parameter default.
Actual Behavior
Deploying resources...
Updating deployment state...
Error: terraform apply: exit status 1
Error: cannot update job: parameters contain duplicate name 'my_job_param'.
with databricks_job.my_job,
on bundle.tf.json line XXX, in resource.databricks_job.my_job:
169: }
OS and CLI version
Please provide the version of the CLI (eg: v0.1.2) and the operating system (eg: windows). You can run databricks --version to get the version of your Databricks CLI
Is this a regression?
Did this work in a previous version of the CLI? If so, which versions did you try?
Debug Logs
Output logs if you run the command with debug logs enabled. Example: databricks bundle deploy --log-level=debug. Redact if needed
Describe the issue
I want to override a job parameter default value in a target configuration, so that when deploying the job to that target, the job parameter has a different default value.
Configuration
Have a job with a parameter.
Try to override the job parameter in the target
Steps to reproduce the behavior
Deploy the job to the target.
Expected Behavior
Job deploys with new job parameter default.
Actual Behavior
OS and CLI version
Please provide the version of the CLI (eg: v0.1.2) and the operating system (eg: windows). You can run databricks --version to get the version of your Databricks CLI
Is this a regression?
Did this work in a previous version of the CLI? If so, which versions did you try?
Debug Logs
Output logs if you run the command with debug logs enabled. Example: databricks bundle deploy --log-level=debug. Redact if needed