Skip to content

Releases: hashicorp/consul-terraform-sync

v0.7.1

31 Oct 05:54
Compare
Choose a tag to compare

0.7.1 (October 26, 2023)

BUG FIXES:

  • Fix issue with re registration of services with checks not triggering task [GH-1067]

FEATURES:

  • Go version bump to 1.21.10 [GH-1071]
  • Support for Terraform v1.6.2 [GH-1071]

v0.7.0

08 Sep 15:58
e77f257
Compare
Choose a tag to compare

0.7.0 (September 8, 2022)

BREAKING CHANGES:

  • Changed default value of service_name in service registration configuration from Consul-Terraform-Sync to consul-terraform-sync [GH-946]

FEATURES:

  • (Enterprise Only) Support for high availability redundancy [GH-1015]
  • Support for Terraform v1.2 [GH-917]

IMPROVEMENTS:

  • Add openssh command to Docker image to support git over ssh for Terraform modules [GH-940]
  • Upgrade Go to version 1.18 [GH-951]
  • Support for CTS running as a daemon without an initial configured task [GH-986]
  • Enhanced logging for watcher events providing greater insight on changes to Consul [GH-895]
  • (Enterprise Only) Add automatic retries for failed Terraform Cloud requests [GH-448]

BUG FIXES:

  • Fix issue where endpoint response objects represent configuration in a working form (e.g. with defaults, transformations, etc.), rather than responding with the configuration exactly as configured [GH-1000]
  • Fix issue where Terraform driver requests to the Terraform CLI leaked go-routines which could lead to "error from kill" entries in logs [GH-849]

v0.7.0-beta1

v0.7.0-beta1 Pre-release
Pre-release
prepare for beta release

v0.6.0

25 May 16:08
7f0d7ba
Compare
Choose a tag to compare

0.6.0 (May 25, 2022)

KNOWN ISSUES:

  • Terraform driver requests to the Terraform CLI leaks go-routines which can lead to "error from kill" entries in logs [GH-849]

FEATURES:

  • Support for CLI autocompletion [GH-775]
  • Support for retrieving CTS health through the API [GH-850]
  • Support for retrieving information about all existing tasks through the API [GH-770]
  • Support for automatically registering CTS with Consul as a service with a health check [GH-860]
  • (Enterprise Only) Official support for HCP Consul
  • (Enterprise Only) Support for creating workspaces configured with Terraform Cloud agents [GH-772]
  • (Enterprise Only) Support for automatically retrieving a license from the configured Consul Enterprise or HCP Consul backend [GH-810]

IMPROVEMENTS:

  • Update fallback version of Terraform to 1.1.8 [GH-802]
  • Update API request logging from INFO to DEBUG to reduce noise in logs [GH-738]
  • Support starting up CTS with new start command [GH-866]
  • (Enterprise Only) Use fallback version of Terraform if determining latest compatible version from Terraform Cloud fails.
  • (Enterprise Only) Add terraform_version to task.terraform_cloud_workspace, which was introduced as part of support for Terraform Cloud agents [GH-790]

BUG FIXES:

  • (Enterprise Only) Fix issue where created TFC tasks not using specified Terraform version [GH-792]
  • (Enterprise Only) Fix issue where fetching compatible Terraform version from TFC not using TLS configurations [GH-795]
  • Fix issue where Task Status API response's provider field was returning provider name instead of provider id, which includes provider name and alias [GH-798]
  • Fix issue where the main function for running the CTS binary was only using a logger with default settings [GH-789]
  • Fix issue where syslog.enabled was not automatically set to true when other syslog configs were configured [GH-815]
  • Fix issue where deleting task run events used a read-lock instead of write-lock [GH-787]
  • Fix issue where restarting Consul while CTS was running could cause the first service change to be ignored [GH-884]

DEPRECATIONS:

  • (Enterprise Only) Deprecate terraform_version task configuration in favor of terraform_cloud_workspace.terraform_version task configuration [GH-790]
  • (Enterprise Only) Deprecate license_path configuration in favor of license.path configuration [GH-810]
  • Deprecate starting CTS as a daemon using no CLI command in favor of starting CTS as a daemon using the new start command [GH-866]

v0.6.0-beta1

11 May 21:23
9be8b80
Compare
Choose a tag to compare
v0.6.0-beta1 Pre-release
Pre-release

0.6.0-beta1 (May 11, 2022)

KNOWN ISSUES:

  • Terraform driver requests to the Terraform CLI leaks go-routines which can lead to "error from kill" entries in logs [GH-849]

FEATURES:

  • Support for CLI autocompletion [GH-775]
  • Support for retrieving CTS health through the API [GH-850]
  • Support for retrieving information about all existing tasks through the API [GH-770]
  • Support for automatically registering CTS with Consul as a service with a health check [GH-860]
  • (Enterprise Only) Official support for HCP Consul
  • (Enterprise Only) Support for creating workspaces configured with Terraform Cloud agents [GH-772]
  • (Enterprise Only) Support for automatically retrieving a license from the configured Consul Enterprise or HCP Consul backend [GH-810]

IMPROVEMENTS:

  • Update fallback version of Terraform to 1.1.8 [GH-802]
  • Update API request logging from INFO to DEBUG to reduce noise in logs [GH-738]
  • Support starting up CTS with new start command [GH-866]
  • (Enterprise Only) Use fallback version of Terraform if determining latest compatible version from Terraform Cloud fails.
  • (Enterprise Only) Add terraform_version to task.terraform_cloud_workspace, which was introduced as part of support for Terraform Cloud agents [GH-790]

BUG FIXES:

  • (Enterprise Only) Fix issue where created TFC tasks not using specified Terraform version [GH-792]
  • (Enterprise Only) Fix issue where fetching compatible Terraform version from TFC not using TLS configurations [GH-795]
  • Fix issue where Task Status API response's provider field was returning provider name instead of provider id, which includes provider name and alias [GH-798]
  • Fix issue where the main function for running the CTS binary was only using a logger with default settings [GH-789]
  • Fix issue where syslog.enabled was not automatically set to true when other syslog configs were configured [GH-815]
  • Fix issue where deleting task run events used a read-lock instead of write-lock [GH-787]

DEPRECATIONS:

  • (Enterprise Only) Deprecate terraform_version task configuration in favor of terraform_cloud_workspace.terraform_version task configuration [GH-790]
  • (Enterprise Only) Deprecate license_path configuration in favor of license.path configuration [GH-810]
  • Deprecate starting CTS as a daemon using no CLI command in favor of starting CTS as a daemon using the new start command [GH-866]

v0.5.2

15 Mar 15:45
6bc61ca
Compare
Choose a tag to compare

0.5.2 (March 15, 2022)

BUG FIXES:

  • Fix issue where triggering a task while task is running is ignored and can cause locked state [GH-732]
  • Fix issue where re-creating a task using the task creation API/CLI after Consul restart can result in an error [GH-701]
  • Fix issue where creating a task with the same name as a deleted task, where the deleted task includes a condition "schedule", can leave CTS in a bad state [GH-715]

v0.5.1

24 Feb 17:33
c02fd97
Compare
Choose a tag to compare

0.5.1 (February 24, 2022)

BUG FIXES:

  • (Enterprise Only) Regression with Terraform Cloud driver's required_providers configuration which leads the driver to potentially attempt to retrieve an incorrect provider source and version [GH-728]

v0.5.0

23 Feb 18:04
dbfcb19
Compare
Choose a tag to compare

0.5.0 (February 23, 2022)

KNOWN ISSUES: See the linked GitHub issues for details on any workarounds

  • Re-creating a task using the task creation API/CLI after Consul restart can result in an error. [GH-701]
  • Creating a task with the same name as a deleted task, where the deleted task includes a condition "schedule", can leave CTS in a bad state [GH-715]
  • Creating a task with multiple module inputs using JSON requires specific JSON format. [GH-714]
  • (Enterprise Only) Regression with Terraform Cloud driver's required_providers configuration which leads the driver to potentially attempt to retrieve an incorrect provider source and version [GH-728]

BREAKING CHANGES:

  • Stop monitoring and including non-passing service instances in terraform.tfvars by default. CTS should only monitor passing service instances unless configured otherwise. [GH-430]
  • Removed driver.terraform.working_dir configuration option that was deprecated in v0.3.0. Use top-level working_dir to configure parent directory for all tasks or task.working_dir to configure per task. [GH-548]
  • Require that condition "catalog-services" block's regexp field be configured instead of relying on previous default behavior. [GH-574]
  • Change default value of source_includes_var field from false to true for all types of condition blocks. [GH-578]

FEATURES:

  • Support for deleting an existing task through the API and CLI. [GH-522]
  • Support for creating a task through the API and CLI. [GH-522]
  • Support for retrieving information about an existing task through the API. [GH-681]
  • Support for -auto-approve option to skip interactive approval prompts in the CLI. [GH-576]

IMPROVEMENTS:

  • Tasks will now trigger only after the min time of the buffer_period configuration has transpired. Previously tasks would trigger immediately, once, before honoring the minimum buffer period time. [GH-642]
  • Support configuring a task's condition "services" and source_input "services" blocks with query parameters: datacenter, namespace, filter, and cts_user_defined_meta. [GH-357]
  • Support new names field for configuring a task's condition "services" and source_input "services" blocks as an optional alternative to regexp to list monitored services by name. [GH-561]
  • Support source_includes_var field for a task's condition "services" block. [GH-584]
  • Expand source_input block usage to dynamic tasks and support multiple source_input blocks per task. [GH-607]
  • Initialize disabled tasks, which allows for earlier validation of a task. [GH-625]

DEPRECATIONS:

  • (Enterprise Only) Deprecate workspace_prefix for the Terraform Cloud driver that adds unexpected - character added between the prefix and task name. Use the new workspaces.prefix option instead. [GH-442]
    • If the workspace_prefix option is in use by CTS v0.3.x or v0.4.x for the Terraform Cloud driver, visit GH-442 for upgrade guidelines.
  • Deprecate port CLI option. Use http-addr option instead. [GH-617]
  • Deprecate services field in task configuration. Use condition "services" or source_input "services" instead. [GH-669]
  • Deprecate service block in configuration. To replace usage, first upgrade the associated task config services field to a condition "services" or source_input "services". Then move the service block fields into the new condition or source_input block. [GH-670]
  • Deprecate source field in task configuration. Rename source to module in configuration. [GH-566]
  • Deprecate source_input block in task configuration. Rename source_input to module_input in configuration. [GH-567]
  • Deprecate source_includes_var field in task configuration's condition block. Rename source_includes_var to use_as_module_input in configuration. [GH-568]
  • Deprecate non-status, config-related information from the Task Status API's response payload. Use the Get Task API instead to retrieve the deprecated information. [GH-569]

BUG FIXES:

  • Fix CLI client enable task command timing out when buffer period is enabled [GH-516]
  • Fix Services condition when configured with regex and Catalog Services condition to use cached indexes for Consul API blocking queries. [GH-529]
  • (Enterprise Only) Fix task not triggering after re-enabled when running with the TFC driver.

v0.4.3

14 Jan 18:33
0726a4f
Compare
Choose a tag to compare

0.4.3 (January 14, 2022)

SECURITY:

FEATURES:

  • Support for Terraform v1.1 [GH-588]

BUG FIXES:

  • Fix issue where enabling a task can display an EOF error in terminal even though task is enabled. [GH-516]

v0.3.1

14 Jan 15:40
Compare
Choose a tag to compare

0.3.1 (January 14, 2022)

SECURITY:

FEATURES:

  • Support for Terraform v1.1 [GH-588]