|
| 1 | +--- |
| 2 | +layout: "couchbase-capella" |
| 3 | +page_title: "Couchbase Capella Provider 1.5.2: Upgrade and Information Guide" |
| 4 | +sidebar_current: "docs-couchbase-capella-guides-151-upgrade-guide" |
| 5 | +description: |- |
| 6 | +Couchbase Capella Provider 1.5.2: Upgrade and Information Guide |
| 7 | +--- |
| 8 | + |
| 9 | + |
| 10 | +# Couchbase Capella Provider 1.5.2: Upgrade and Information Guide |
| 11 | + |
| 12 | +## Bug Fixes |
| 13 | + |
| 14 | +* Creating index was throwing unknown value error in 1.5.1 release, which has been rectified in 1.5.2 release |
| 15 | + |
| 16 | +## Changes |
| 17 | + |
| 18 | +There are no deprecations as part of this release. |
| 19 | + |
| 20 | +1.5.2 includes new GCP Private Endpoint Command support and App Services Allowed CIDR resources. For more information, see the [CHANGELOG](https://github.com/couchbasecloud/terraform-provider-couchbase-capella/blob/master/CHANGELOG.md). |
| 21 | + |
| 22 | +## GCP Private Endpoint Command |
| 23 | + |
| 24 | +Use the new `gcp_private_endpoint_command` data source to get a GCP command for configuring VPC endpoint. |
| 25 | + |
| 26 | +``` |
| 27 | +data "couchbase-capella_gcp_private_endpoint_command" "gcp_command" { |
| 28 | + organization_id = var.organization_id |
| 29 | + project_id = var.project_id |
| 30 | + cluster_id = var.cluster_id |
| 31 | + vpc_network_id = var.vpc_network_id |
| 32 | + subnet_ids = var.subnet_ids |
| 33 | +} |
| 34 | +``` |
| 35 | +For more information, see the [gcp private endpoint examples](https://github.com/couchbasecloud/terraform-provider-couchbase-capella/tree/main/examples/private_endpoint_command/GCP). |
| 36 | + |
| 37 | +## App Services Allowed CIDR |
| 38 | + |
| 39 | +Use the new `app_services_cidr` resource to manage the IP addresses allowed to connect to App Services in Capella. |
| 40 | + |
| 41 | +``` |
| 42 | +resource "couchbase-capella_app_services_cidr" "new_allowlist" { |
| 43 | + organization_id = var.organization_id |
| 44 | + project_id = var.project_id |
| 45 | + cluster_id = var.cluster_id |
| 46 | + app_service_id = var.app_service_id |
| 47 | + cidr = var.app_services_cidr.cidr |
| 48 | + comment = var.app_services_cidr.comment |
| 49 | + expires_at = var.app_services_cidr.expires_at |
| 50 | +} |
| 51 | +``` |
| 52 | + |
| 53 | +Use the new `app_services_cidr` data source to retrieve the allowed CIDR blocks for a Capella App Service. |
| 54 | + |
| 55 | +``` |
| 56 | +data "couchbase-capella_app_services_cidr" "existing_allowlists" { |
| 57 | + organization_id = var.organization_id |
| 58 | + project_id = var.project_id |
| 59 | + cluster_id = var.cluster_id |
| 60 | + app_service_id = var.app_service_id |
| 61 | +} |
| 62 | +``` |
| 63 | +For more information, see the [app services cidr examples](https://github.com/couchbasecloud/terraform-provider-couchbase-capella/tree/main/examples/app_services_cidr). |
| 64 | + |
| 65 | +### Helpful Links |
| 66 | + |
| 67 | +- [Getting Started with the Terraform Provider](https://github.com/couchbasecloud/terraform-provider-couchbase-capella/blob/master/examples/getting_started) |
| 68 | +- [Capella Management API v4.0](https://docs.couchbase.com/cloud/management-api-reference/index.html) |
| 69 | +- [See Specific Examples](https://github.com/couchbasecloud/terraform-provider-couchbase-capella/blob/master/examples) |
0 commit comments