Apply suggestions from code review
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com> Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
This commit is contained in:
parent
0ed871d548
commit
c43e595c6c
|
@ -27,7 +27,7 @@ The following table describes all of the available flags.
|
|||
| <nobr>`-config-file`</nobr> | Required when `-config-dir` is not set | string | Specifies the CTS instance configuration file to load on startup. Files must be in HCL or JSON format. You can specify the flag multiple times to load more than one file. | none |
|
||||
| <nobr>`-inspect`</nobr> | Optional | boolean | Starts CTS in inspect mode . In inspect mode, CTS displays the proposed state changes for all tasks once and exits. No changes are applied. Refer to [Modes](#modes) for additional information. If an error occurs before displaying all changes, CTS exits with a non-zero status. | `false` |
|
||||
| <nobr>`-inspect-task`</nobr> | Optional | string | Starts CTS in inspect mode for the specified task. CTS displays the proposed state changes for the specified task and exits. No changes are applied. <br/>You can specify the flag multiple times to display more than one task. <br/>If an error occurs before displaying all changes, CTS exits with a non-zero status. | none |
|
||||
| <nobr>`-once`</nobr> | Optional | boolean | Starts CTS in once-mode (refer to [Modes](#modes) for additional information). In once-mode, CTS renders templates and runs tasks once. CTS does not start the process in long-running mode and disables buffer periods. | `false` |
|
||||
| <nobr>`-once`</nobr> | Optional | boolean | Starts CTS in once-mode. In once-mode, CTS renders templates, runs tasks once, and disables buffer periods. Refer to [Modes](#modes) for additional information. | `false` |
|
||||
| <nobr>`-reset-storage`</nobr> | Optional | boolean | <EnterpriseAlert inline /> Directs CTS to overwrite the state storage with new state information when the instance you are starting is elected the cluster leader. <br/>Only use this flag when running CTS in [high availability mode](/docs/nia/usage/run-ha). | false |
|
||||
| `-h`, `-help` | Optional | boolean | Prints the CTS command line help. | `false` |
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ CTS integration with Terraform is supported for the following:
|
|||
|
||||
| CTS Version | Terraform CLI Version | Terraform Cloud Version | Terraform Enterprise Version |
|
||||
| :------------------ | :-------------------- | :---------------------- | :--------------------------- |
|
||||
| CTS Enterprise 0.7 | 0.13-1.2 | Latest | v202010-2 - Latest |
|
||||
| CTS Enterprise 0.4+ | 0.13 - 1.1 | Latest | v202010-2 - Latest |
|
||||
| CTS Enterprise 0.3 | 0.13 - 1.1 | N/A | v202010-2 - Latest |
|
||||
| CTS OSS 0.7 | 0.13 - 1.2 | N/A | N/A |
|
||||
|
|
|
@ -49,7 +49,6 @@ In the following example response error:
|
|||
* `high_availability.instance.address` is not configured.
|
||||
|
||||
```json
|
||||
|
||||
{
|
||||
"error": {
|
||||
"message": "redirect requests to leader 'cts-01'"
|
||||
|
|
Loading…
Reference in New Issue