This repository has been 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-cluster
load-balancer-target-group
Description
-
Updated this repo to the latest Couchbase versions:
install-couchbase-server
now installs Couchbase Enterprise6.6.0
and Couchbase Community6.5.1
by default.- We now use the CentOS 7 (instead of CentOS 6) versions of the Couchbase installers for Amazon Linux.
- We now install
bzip2
as part of the install process, as the Couchbase installers rely on it, and not all Linux distros have it installed by default. run-couchbase-server
uses--username
and--password
params with the Couchbase CLI instead of--user
and--password
.run-couchbase-server
now prependshttp://
to node URLs that don't already have a prefix when calling theserver-add
command (otherwise, Couchbase assumes those URLs use TLS).
-
Updated this repo to the latest Sync Gateway Versions:
install-sync-gateway
now installs Sync Gateway Enterprise and Sync Gateway Community2.7.3
.
-
Updated this repo to work with AWS Provider 3.x:
- The
couchbase-cluster
module now sets theignore_changes
lifecycle setting onload_balancers
andtarget_group_arns
attributes. As of AWS Provider 3.x, if you useaws_autoscaling_attachment
, you MUST haveignore_changes
set on these attributes, or your load balancer will be removed (see corresponding issue in the AWS provider). Since thecouchbase-cluster
module 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-group
has been updated to use the new syntax for theaws_alb_listener_rule
resource. In addition to thepath-pattern
rules you could pass in viarouting_condition
, you can now also pass inhost-header
,http-request-method
, andsource-ip
rules.
- 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_retry
function (e.g., in your User Data scripts), we recommend updating theexpected_message
parameter (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.