task
task enable
task enable
command enables an existing task so that it will run and update task resources. If the task is already enabled, it will return a success. The command generates and outputs a Terraform plan, similar to inspect-mode, of how resources will be modified if task becomes enabled. If resources changes are detected, the command will ask for user approval before enabling the task. If no resources are detected, the command will go ahead and enable the task.
Usage
consul-terraform-sync task enable [options] <task_name>
Arguments:
task_name
- (string: required) The name of the task to enable
Options: Currently only supporting general options
Example
task disable
task disable
command disables an existing task so that it will no longer run and update task resources. If the task is already disabled, it will return a success.
Usage
consul-terraform-sync task disable [options] <task_name>
Arguments:
task_name
- (string: required) The name of the task to disable
Options: Currently only supporting general options
Example