This repository was archived by the owner on Mar 29, 2023. It is now read-only.
v0.3.0
Modules affected
install-couchbase-server[BACKWARDS INCOMPATIBLE CHANGES]install-sync-gateway[BACKWARDS INCOMPATIBLE CHANGES]run-couchbase-server[BACKWARDS INCOMPATIBLE CHANGES]couchbase-clusterload-balancer-target-group
Description
-
Updated this repo to the latest Couchbase versions:
install-couchbase-servernow installs Couchbase Enterprise6.6.0and Couchbase Community6.5.1by default.- We now use the CentOS 7 (instead of CentOS 6) versions of the Couchbase installers for Amazon Linux.
- We now install
bzip2as part of the install process, as the Couchbase installers rely on it, and not all Linux distros have it installed by default. run-couchbase-serveruses--usernameand--passwordparams with the Couchbase CLI instead of--userand--password.run-couchbase-servernow prependshttp://to node URLs that don't already have a prefix when calling theserver-addcommand (otherwise, Couchbase assumes those URLs use TLS).
-
Updated this repo to the latest Sync Gateway Versions:
install-sync-gatewaynow installs Sync Gateway Enterprise and Sync Gateway Community2.7.3.
-
Updated this repo to work with AWS Provider 3.x:
- The
couchbase-clustermodule now sets theignore_changeslifecycle setting onload_balancersandtarget_group_arnsattributes. As of AWS Provider 3.x, if you useaws_autoscaling_attachment, you MUST haveignore_changesset on these attributes, or your load balancer will be removed (see corresponding issue in the AWS provider). Since thecouchbase-clustermodule doesn't let you use these attributes anyway, this should be a backwards compatible change that allows this module to work properly with a load balancer. - The
load-balancer-target-grouphas been updated to use the new syntax for theaws_alb_listener_ruleresource. In addition to thepath-patternrules you could pass in viarouting_condition, you can now also pass inhost-header,http-request-method, andsource-iprules.
- The
Migration guide
- We only recommend upgrading to this release if you're also ready to upgrade to Couchbase 6.x and Sync Gateway 2.x. We are no longer testing this repo with older versions (e.g., Couchbase 5.x).
- We recommend building a new AMI for Couchbase and Sync Gateway and deploying them with the new versions of the Terraform modules.
- If you're using the
run_couchbase_cli_with_retryfunction (e.g., in your User Data scripts), we recommend updating theexpected_messageparameter (second argument) to"SUCCESS:". The CLI used to output values such as"SUCCESS: RBAC user set", but most of these have changed, so it's more reliable to look solely for"SUCCESS:"now.