From 1223f0eff74e2075b837e01f0f5a1d4097711a15 Mon Sep 17 00:00:00 2001 From: nidhi07kumar <78451190+nidhi07kumar@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:36:44 -0800 Subject: [PATCH] [AV-69583] Added CONTRIBUTING.md (#137) --- CONTRIBUTING.md | 223 +++++++++++++++++++++++ README.md | 202 +------------------- examples/allowlist/README.md | 10 +- examples/apikey/README.md | 10 +- examples/appservice/README.md | 8 +- examples/backup/create_backups/README.md | 10 +- examples/backup/list_backups/README.md | 10 +- examples/backup_schedule/README.md | 10 +- examples/bucket/README.md | 10 +- examples/certificate/README.md | 6 +- examples/cluster/README.md | 8 +- examples/database_credential/README.md | 10 +- examples/getting_started/README.md | 6 +- examples/organization/README.md | 12 +- examples/project/README.md | 10 +- examples/user/README.md | 6 +- 16 files changed, 290 insertions(+), 261 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..b80702d4 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,223 @@ +# Contributing to the provider + +Thank you for your interest in contributing to the Couchbase Capella Terraform Provider. Before you start, please take a moment to read through our contribution guidelines to ensure a smooth collaboration. + +## Requirements + +- [Git](https://git-scm.com/) +- [Terraform](https://www.terraform.io/downloads.html) >= 1.5.2 +- [Go](https://golang.org/doc/install) >= 1.21 + +### Environment + +- Fork the repository. +- Clone your fork. Use `git clone` to create a local copy on your machine. +- We use Go Modules to manage dependencies, so you can develop outside your `$GOPATH`. +- We use [golangci-lint](https://github.com/golangci/golangci-lint) to lint our code, you can install it locally via `make setup`. + +## Using the Provider + +### Building +- Enter the provider directory. +- Run `make setup` to install the needed tools for the provider. +- Run `make build` to build the binary in the `./bin` directory. +- Use the local provider binary in the `./bin` folder. +- Create the following `dev.terraformrc` file inside your directory + +Terraform installs providers and verifies their versions and checksums when you run `terraform init`. Terraform will download your +providers from either the provider registry or a local registry. However, while building your provider you will want to +test a Terraform configuration against a local development build of the provider. The development build will not have an associated +version number or an official set of checksums listed in a provider registry. + +Terraform allows you to use local provider builds by setting a dev_overrides block in a configuration file with ext .terraformrc or .tfrc. + +This block overrides all other configured installation methods. + +Terraform searches for the .terraformrc or .tfrc file in your home directory and applies any configuration settings you set. + + ```terraform + provider_installation { + + dev_overrides { + "couchbasecloud/couchbase-capella" = "" + } + + # For all other providers, install them directly from their origin provider + # registries as normal. If you omit this, Terraform will _only_ use + # the dev_overrides block, and so no other providers will be available. + direct {} +} + ``` + +- Define the env var `TF_CLI_CONFIG_FILE` in your console session + + ```bash + export TF_CLI_CONFIG_FILE=PATH/TO/dev.terraformrc + ``` +- Run `terraform init` to initialize terraform +- Run `terraform apply` to use terraform with the local binary + +For more explained information about plugin override check [Development Overrides for Provider Developers](https://www.terraform.io/docs/cli/config/config-file.html#development-overrides-for-provider-developers) + +### Authentication + +In order to set up authentication with the Couchbase Capella provider a V4 API key must be generated. + +To find out how to generate a V4 API Key, please see the following document: +https://docs.couchbase.com/cloud/management-api-guide/management-api-start.html + +### Terraform Environment Variables + +Environment variables can be set by terraform by creating and adding terraform.template.tfvars +```terraform +auth_token = "" +organization_id = "" +# This env variable is optional and allow you to run terraform with a custom API server. +host = "https://cloudapi.cloud.couchbase.com" +``` + +A variables.tf should also be added to define the variables for terraform. +```terraform +variable "host" { + description = "The Host URL of Couchbase Cloud." +} + +variable "organization_id" { + description = "Capella Organization ID" +} + +variable "auth_token" { + description = "Authentication API Key" +} +``` + +Set the environment variables by using the following notation: +```terraform +resource "capella_project" "example" { + organization_id = var.organization_id + name = var.project_name + description = "A Capella Project that will host many Capella clusters." +} +``` + +Alternatively, if you would like to set environment variables locally on your system (as opposed to using terraform.template.tfvars), +preface them with `TF_VAR_`. Terraform will then apply them your .terraformrc file on running +`terraform apply`. For example: +```bash +export TF_VAR_auth_token= +export TF_VAR_organization_id= +# This env variable is optional and allow you to run terraform with a custom API server. +export TF_VAR_host= "https://cloudapi.cloud.couchbase.com" +``` + +### Create and manage resources using terraform + +#### Example Usage + +Note: You will need to provide both the url of the capella host as well as your V4 API secret for authentication. + +```terraform +terraform { + required_providers { + couchbase-capella = { + source = "couchbasecloud/couchbase-capella" + } + } +} + +provider "couchbase-capella" { + host = "the host url of couchbase cloud" + authentication_token = "capella authentication token" +} + + +resource "capella_project" "example" { + organization_id = "ffffffff-aaaa-1414-eeee-000000000000" + name = "example-name" + description = "example-description" +} + +output "example_project" { + value = capella_project.example +} +``` + +This repository contains a number of example directories containing examples of Hashicorp Configuration Language (HCL) code +being used to create and manage Capella resources. To try these examples out for yourself, change into one of them and run +the below commands. + +#### Commands + +#### Terraform Init + +Ordinarily, terraform will download the requested providers on running the command: +```bash +$ terraform init +``` +If you are working with a local install of `Terraform-Provider-Couchbase-Capella` provider, this step is not needed and considered optional. +However, if you plan to use any other providers at the same time it may need to be run. + +**1\. Review the Terraform plan** + +Execute the following command to automatically review and update the formatting of .tf files. +```bash +$ terraform fmt +``` + +The terraform.template.tfvars defines a template on how the variable values should be added. +Copy this file as `terraform.tfvars` in the same directory and add the value for each variable. + +Execute the following command to review the resources that will be deployed. + +```bash +$ terraform plan +``` + +**2\. Execute the Terraform apply** + +Execute the plan to deploy the Couchbase Capella resources. + +```bash +$ terraform apply +``` + +**3\. Destroy the resources** + +Execute the following command to destroy all the resources. + +```bash +$ terraform destroy +``` + +To destroy specific resource + +```bash +$ terraform destroy -target=RESOURCE_ADDRESS +``` +Example + +```bash +$ terraform destroy -target=capella_project.example +``` + +**4\. To refresh the state file to sync with the remote** + +```bash +$ terraform apply --refresh-only +``` + +**5\. To import remote resource** + +```bash +$ terraform import RESOURCE_TYPE.NAME RESOURCE_IDENTIFIER +``` + +### Running the acceptance test + +~> **Notice:** Acceptance tests create real resources, and often cost money to run. Please note in any PRs made if you are unable to pay to run acceptance tests for your contribution. We will accept "best effort" implementations of acceptance tests in this case and run them for you on our side. This may delay the contribution but we do not want your contribution blocked by funding. +- Run `make testacc` + +## Discovering New API features + +Most of the new features of the provider are using [capella-public-apis](https://docs.couchbase.com/cloud/management-api-guide/management-api-intro.html) +Public APIs are updated automatically, tracking all new Capella features. diff --git a/README.md b/README.md index 764619c4..21905327 100644 --- a/README.md +++ b/README.md @@ -15,205 +15,11 @@ This is the repository for Couchbase's Terraform-Provider-Capella which forms a ## Using the Provider -### Building -- Enter the provider directory -- Run `make setup` to install the needed tools for the provider. -- Run `make build` to build the binary in the `./bin` directory. -- Use the local provider binary in the `./bin` folder. -- Create the following `dev.terraformrc` file inside your directory +To use a released provider in your Terraform environment, run `terraform init` and Terraform will automatically install the provider. +Documentation about the provider specific configuration options can be found on the [provider's website](https://developer.hashicorp.com/terraform/language/providers). -Terraform installs providers and verifies their versions and checksums when you run `terraform init`. Terraform will download your -providers from either the provider registry or a local registry. However, while building your provider you will want to -test a Terraform configuration against a local development build of the provider. The development build will not have an associated -version number or an official set of checksums listed in a provider registry. - -Terraform allows you to use local provider builds by setting a dev_overrides block in a configuration file with ext .terraformrc or .tfrc. - -This block overrides all other configured installation methods. - -Terraform searches for the .terraformrc or .tfrc file in your home directory and applies any configuration settings you set. - - ```terraform - provider_installation { - - dev_overrides { - "couchbasecloud/couchbase-capella = "" - } - - # For all other providers, install them directly from their origin provider - # registries as normal. If you omit this, Terraform will _only_ use - # the dev_overrides block, and so no other providers will be available. - direct {} - } - ``` - -- Define the env var `TF_CLI_CONFIG_FILE` in your console session - - ```bash - export TF_CLI_CONFIG_FILE=PATH/TO/dev.terraformrc - ``` -- Run `terraform init` to initialize terraform -- Run `terraform apply` to use terraform with the local binary - -For more explained information about plugin override check [Development Overrides for Provider Developers](https://www.terraform.io/docs/cli/config/config-file.html#development-overrides-for-provider-developers) - -### Authentication - -In order to set up authentication with the Couchbase Capella provider a V4 API key must be generated. - -To find out how to generate a V4 API Key, please see the following document: -https://docs.couchbase.com/cloud/management-api-guide/management-api-start.html - -### Terraform Environment Variables - -Environment variables can be set by terraform by creating and adding terraform.template.tfvars -```terraform -auth_token = "" -organization_id = "" -# This env variable is optional and allow you to run terraform with a custom API server. -host = "https://cloudapi.cloud.couchbase.com" -``` - -A variables.tf should also be added to define the variables for terraform. -```terraform -variable "host" { - description = "The Host URL of Couchbase Cloud." -} - -variable "organization_id" { - description = "Capella Organization ID" -} - -variable "auth_token" { - description = "Authentication API Key" -} -``` - -Set the environment variables by using the following notation: -```terraform -resource "capella_project" "example" { - organization_id = var.organization_id - name = var.project_name - description = "A Capella Project that will host many Capella clusters." -} -``` - -Alternatively, if you would like to set environment variables locally on your system (as opposed to using terraform.template.tfvars), -preface them with `TF_VAR_`. Terraform will then apply them your .terraformrc file on running -`terraform apply`. For example: -```bash -export TF_VAR_auth_token= -export TF_VAR_organization_id= -# This env variable is optional and allow you to run terraform with a custom API server. -export TF_VAR_host= "https://cloudapi.cloud.couchbase.com" -``` - -### Create and manage resources using terraform - -#### Example Usage - -Note: You will need to provide both the url of the capella host as well as your V4 API secret for authentication. - -```terraform -terraform { - required_providers { - couchbase-capella = { - source = "hashicorp.com/couchabasecloud/couchbase-capella" - } - } -} - -provider "couchbase-capella" { - host = "the host url of couchbase cloud" - authentication_token = "capella authentication token" -} - - -resource "capella_project" "example" { - organization_id = "ffffffff-aaaa-1414-eeee-000000000000" - name = "example-name" - description = "example-description" -} - -output "example_project" { - value = capella_project.example -} -``` - -This repository contains a number of example directories containing examples of Hashicorp Configuration Language (HCL) code -being used to create and manage Capella resources. To try these examples out for yourself, change into one of them and run -the below commands. - -#### Commands - -#### Terraform Init - -Ordinarily, terraform will downloaded the requested providers on running the command: -```bash -$ terraform init -``` -If you are working with a local install of `Terraform-Provider-Couchbase-Capella` provider, this step is not needed and considered optional. -However if you plan to use any other providers at the same time it may need to be ran. - -**1\. Review the Terraform plan** - -Execute the following command to automatically review and update the formatting of .tf files. -```bash -$ terraform fmt -``` - -The terraform.template.tfvars defines a template on how the variable values should be added. -Copy this file as `terraform.tfvars` in the same directory and add the value for each variable. - -Execute the following command to review the resources that will be deployed. - -```bash -$ terraform plan -``` - -**2\. Execute the Terraform apply** - -Execute the plan to deploy the Couchbase Capella resources. - -```bash -$ terraform apply -``` - -**3\. Destroy the resources** - -Execute the following command to destroy all the resources. - -```bash -$ terraform destroy -``` - -To destroy specific resource - -```bash -$ terraform destroy -target=RESOURCE_ADDRESS -``` -Example - -```bash -$ terraform destroy -target=capella_project.example -``` - -**4\. To refresh the state file to sync with the remote** - -```bash -$ terraform apply --refresh-only -``` - -**5\. To import remote resource** - -```bash -$ terraform import RESOURCE_TYPE.NAME RESOURCE_IDENTIFIER -``` - -### Running the acceptance test - -~> **Notice:** Acceptance tests create real resources, and often cost money to run. Please note in any PRs made if you are unable to pay to run acceptance tests for your contribution. We will accept "best effort" implementations of acceptance tests in this case and run them for you on our side. This may delay the contribution but we do not want your contribution blocked by funding. -- Run `make testacc` +## Contributing to the Provider +See [Contributing.md](https://github.com/couchbasecloud/terraform-provider-couchbase-capella/blob/main/CONTRIBUTING.md) ## Discovering New API features diff --git a/examples/allowlist/README.md b/examples/allowlist/README.md index 1a52c922..7d9fe2bd 100644 --- a/examples/allowlist/README.md +++ b/examples/allowlist/README.md @@ -30,7 +30,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -116,7 +116,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -334,7 +334,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -360,7 +360,7 @@ $ terraform apply -var comment="updated allowlist comment" │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -491,7 +491,7 @@ $ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. diff --git a/examples/apikey/README.md b/examples/apikey/README.md index d6b0be3c..b171ae33 100644 --- a/examples/apikey/README.md +++ b/examples/apikey/README.md @@ -30,7 +30,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -168,7 +168,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -484,7 +484,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -509,7 +509,7 @@ $ terraform apply -var 'apikey={allowed_cidrs=["10.1.42.0/23", "10.1.43.0/23", " │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -682,7 +682,7 @@ $ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ diff --git a/examples/appservice/README.md b/examples/appservice/README.md index 7dfe6ff5..3dc3ebd7 100644 --- a/examples/appservice/README.md +++ b/examples/appservice/README.md @@ -30,7 +30,7 @@ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -195,7 +195,7 @@ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -505,7 +505,7 @@ terraform apply -var-file=terraform.template.tfvars │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -872,7 +872,7 @@ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. diff --git a/examples/backup/create_backups/README.md b/examples/backup/create_backups/README.md index 37b3e9cb..997b6ff5 100644 --- a/examples/backup/create_backups/README.md +++ b/examples/backup/create_backups/README.md @@ -29,7 +29,7 @@ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -138,7 +138,7 @@ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -509,7 +509,7 @@ Sample Output: │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -572,7 +572,7 @@ Sample Output: │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -702,7 +702,7 @@ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. diff --git a/examples/backup/list_backups/README.md b/examples/backup/list_backups/README.md index df6378d4..73008202 100644 --- a/examples/backup/list_backups/README.md +++ b/examples/backup/list_backups/README.md @@ -30,7 +30,7 @@ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -139,7 +139,7 @@ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -510,7 +510,7 @@ Sample Output: │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -573,7 +573,7 @@ Sample Output: │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -703,7 +703,7 @@ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. diff --git a/examples/backup_schedule/README.md b/examples/backup_schedule/README.md index 92a57c4c..e006751b 100644 --- a/examples/backup_schedule/README.md +++ b/examples/backup_schedule/README.md @@ -29,7 +29,7 @@ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -86,7 +86,7 @@ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -246,7 +246,7 @@ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -295,7 +295,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -374,7 +374,7 @@ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. diff --git a/examples/bucket/README.md b/examples/bucket/README.md index 9b2e85af..7c2348d8 100644 --- a/examples/bucket/README.md +++ b/examples/bucket/README.md @@ -30,7 +30,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -148,7 +148,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -434,7 +434,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -460,7 +460,7 @@ $ terraform apply -var 'bucket={durability_level="majority",name="new_terraform_ │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -639,7 +639,7 @@ $ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. diff --git a/examples/certificate/README.md b/examples/certificate/README.md index 700c7d57..d44d7e91 100644 --- a/examples/certificate/README.md +++ b/examples/certificate/README.md @@ -27,7 +27,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -76,7 +76,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -164,7 +164,7 @@ $ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. diff --git a/examples/cluster/README.md b/examples/cluster/README.md index b9cfee8c..0cd2d49d 100644 --- a/examples/cluster/README.md +++ b/examples/cluster/README.md @@ -30,7 +30,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -224,7 +224,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -680,7 +680,7 @@ $ terraform apply -var 'support={plan="enterprise", timezone="IST"}' │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -1126,7 +1126,7 @@ $ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ diff --git a/examples/database_credential/README.md b/examples/database_credential/README.md index f5cf222f..3cdfcc2f 100644 --- a/examples/database_credential/README.md +++ b/examples/database_credential/README.md @@ -30,7 +30,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -95,7 +95,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -270,7 +270,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -362,7 +362,7 @@ $ terraform apply -var 'access=[{privileges=["data_reader"]}]' │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -453,7 +453,7 @@ $ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. diff --git a/examples/getting_started/README.md b/examples/getting_started/README.md index bf9ce898..7cdbb620 100644 --- a/examples/getting_started/README.md +++ b/examples/getting_started/README.md @@ -34,7 +34,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -413,7 +413,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. @@ -1186,7 +1186,7 @@ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published │ releases. diff --git a/examples/organization/README.md b/examples/organization/README.md index 1fe62bd4..ee4e5640 100644 --- a/examples/organization/README.md +++ b/examples/organization/README.md @@ -27,7 +27,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -62,13 +62,13 @@ You can apply this plan to save these new output values to the Terraform state, ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. -macos:organization talina.shrotriya$ -macos:organization talina.shrotriya$ terraform plan +macos:organization $USER$ +macos:organization $USER$ terraform plan ╷ │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -116,7 +116,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -203,7 +203,7 @@ $ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. diff --git a/examples/project/README.md b/examples/project/README.md index 766e807d..bb6815fb 100644 --- a/examples/project/README.md +++ b/examples/project/README.md @@ -31,7 +31,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -108,7 +108,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -354,7 +354,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -381,7 +381,7 @@ $ terraform apply -var project_name="my_edited_project_name" │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with │ published releases. @@ -469,7 +469,7 @@ $ terraform destroy │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ diff --git a/examples/user/README.md b/examples/user/README.md index 5a9faf7c..e90eedca 100644 --- a/examples/user/README.md +++ b/examples/user/README.md @@ -30,7 +30,7 @@ $ terraform plan │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -161,7 +161,7 @@ $ terraform apply │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ @@ -469,7 +469,7 @@ $ terraform apply -var user_name="John Doe" │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: -│ - hashicorp.com/couchabasecloud/capella in /Users/talina.shrotriya/workspace/terraform-provider-capella +│ - hashicorp.com/couchbasecloud/capella in /Users/$USER/workspace/terraform-provider-capella │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵