-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starter example improvements and doc update (#474)
* Starter example improvements and doc update -Updated the doc index to point to the examples directory -Added a few more variables and such to the starter example that seemed useful after writing a demo using it. * Update atlas_cluster.tf
- Loading branch information
1 parent
3581244
commit b0dd7f4
Showing
5 changed files
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,51 @@ | ||
variable "public_key" { | ||
description = "Public API key to authenticate to Atlas" | ||
type = string | ||
description = "Public Programmatic API key to authenticate to Atlas" | ||
} | ||
variable "private_key" { | ||
description = "Private API key to authenticate to Atlas" | ||
type = string | ||
description = "Private Programmatic API key to authenticate to Atlas" | ||
} | ||
variable "dbuser" { | ||
description = "MongoDB Atlas Database User" | ||
variable "org_id" { | ||
type = string | ||
description = "MongoDB Organization ID" | ||
} | ||
variable "dbuser_password" { | ||
description = "MongoDB Atlas Database User Password" | ||
variable "project_name" { | ||
type = string | ||
description = "The MongoDB Atlas Project Name" | ||
} | ||
variable "database_name" { | ||
description = "The Database in the cluster" | ||
variable "cluster_name" { | ||
type = string | ||
description = "The MongoDB Atlas Cluster Name" | ||
} | ||
variable "org_id" { | ||
description = "MongoDB Organization ID" | ||
variable "cloud_provider" { | ||
type = string | ||
description = "The cloud provider to use, must be AWS, GCP or AZURE" | ||
} | ||
variable "region" { | ||
description = "MongoDB Atlas Cluster Region" | ||
type = string | ||
description = "MongoDB Atlas Cluster Region, must be a region for the provider given" | ||
} | ||
variable "mongodbversion" { | ||
type = string | ||
description = "The Major MongoDB Version" | ||
} | ||
variable "project_name" { | ||
description = "The Atlas Project Name" | ||
variable "dbuser" { | ||
type = string | ||
description = "MongoDB Atlas Database User Name" | ||
} | ||
variable "dbuser_password" { | ||
type = string | ||
description = "MongoDB Atlas Database User Password" | ||
} | ||
variable "database_name" { | ||
type = string | ||
description = "The database in the cluster to limit the database user to, the database does not have to exist yet" | ||
} | ||
variable "ip_address" { | ||
type = string | ||
description = "The IP address that the cluster will be accessed from, can also be a CIDR range or AWS security group" | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters