Updating Job Template Parameters

When you edit job template properties, Control Hub applies the same updates to all attached job instances. However, when you edit parameter values for a job template, Control Hub applies the parameter updates to attached job instances based on the following types of edits:

Static parameter value edited
If you edit the value of a static parameter, Control Hub updates all attached job instances to use the edited parameter value. For example:
  • You create a job template and define a static parameter named errordir with a default value of /tmp/errors.
  • You create an attached job instance that uses the parameter default value, /tmp/errors.
  • You edit the job template, changing the default value of the errordir parameter to /errors.
Control Hub updates the attached job instance to use the changed default value of the parameter, /errors.
Dynamic parameter changed to static parameter
If you change a dynamic parameter to static, Control Hub updates all attached job instances to use the default static parameter value. For example:
  • You create a job template and define a dynamic parameter named bucket with a default value of west-data-center.
  • You create an attached job instance, overriding the parameter default value to east-data-center.
  • You edit the job template, changing the bucket parameter to be a static parameter.
Control Hub updates the attached job instance to use the default value of the parameter, west-data-center.
Dynamic parameter value edited when attached job instances use the default value
If you edit the value of a dynamic parameter, Control Hub updates all attached job instances that use the default parameter value to use the edited value. For example:
  • You create a job template and define a dynamic parameter named bucket with a default value of west-data-center.
  • You create an attached job instance, using the parameter default value, west-data-center.
  • You edit the job template, changing the default value of the bucket parameter to north-data-center.
Control Hub updates the attached job instance to use the changed default value of the parameter, north-data-center.
Dynamic parameter value edited when attached job instances override the default value
If you edit the value of a dynamic parameter, Control Hub does not update attached job instances that override the default parameter value. For example:
  • You create a job template and define a dynamic parameter named bucket with a default value of west-data-center.
  • You create an attached job instance, overriding the parameter default value to east-data-center.
  • You edit the job template, changing the default value of the bucket parameter to north-data-center.
Control Hub does not update the attached job instance. The job instance continues to use the overridden value, east-data-center.