From a617b4a830bf43b7f09fa9888eca4a20c74f7a64 Mon Sep 17 00:00:00 2001 From: Akshay Karle <1443108+akshaykarle@users.noreply.github.com> Date: Thu, 2 May 2019 21:38:11 +0100 Subject: [PATCH] Update README * This is in reference to the feedback from the provider review: https://github.com/akshaykarle/terraform-provider-mongodbatlas/issues/68 --- README.md | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/README.md b/README.md index 28d8e35b..12d1c22b 100644 --- a/README.md +++ b/README.md @@ -28,29 +28,6 @@ resource "mongodbatlas_cluster" "test" { ``` Also look at the example under [/examples](/examples). -### Importing resources - -Currently, only `mongodbatlas_cluster`, `mongodbatlas_database_user`, `mongodbatlas_vpc_peering_connection` and `mongodbatlas_ip_whitelist` can be imported. - -To import any of these resources, you need the project ID (aka. group ID). This can be found in the project -settings screen. - -``` -# Import a cluster -terraform import mongodbatlas_cluster.example - - -# Import a database user -# NOTE: you'll see a plan diff for the password, this is unavoidable since the user read API omits it -terraform import mongodbatlas_database_user.example - - -# Import an ip whitelist -terraform import mongodbatlas_ip_whitelist.example - - -# Import an vpc peering -# specify the peering connection id( pcx-xxxxxxxxx ) -terrform import mongodbatlas_vpc_peering_connection.example - -``` - ## Building the Provider Clone and build the repository @@ -59,12 +36,6 @@ go get github.com/akshaykarle/terraform-provider-mongodbatlas make build ``` -Symlink the binary to your terraform plugins directory: - -```sh -ln -s $GOPATH/bin/terraform-provider-mongodbatlas ~/.terraform.d/plugins/ -``` - ## Updating the Provider ```sh @@ -72,9 +43,6 @@ go get -u github.com/akshaykarle/terraform-provider-mongodbatlas make build ``` -## NOTE -The `mongodbatlas_container` resource does not destroy the container (vpc) in mongo atlas. This is due to a limitation of the mongo atlas API as it doesn't support deleting this resource. - ## Contributing * Install project dependencies: `go get github.com/kardianos/govendor` * Run tests: `make test`