-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
35 lines (31 loc) · 986 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
* Set `mongodb_conn_string` to with connection string or PrivateLink endpoint
* @example "mongodb+srv://<username>:<password>@cluster-b.6vlan.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
*/
variable "mongodb_conn_string" {
type = string
default = "" # Replace with actual MongoDB connection string if desired
}
/**
* Set `mongodb_conn_secret` with the name of the secret containing a connection string
* @example
* "secretName"
* // with value mongodb+srv://<username>:<password>@cluster-b.6vlan.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
*/
variable "mongodb_conn_secret" {
type = string
default = ""
}
variable "access_key" {
description = "The access key for AWS Account"
type = string
}
variable "secret_key" {
description = "The secret key for AWS Account"
type = string
}
variable "session_token" {
description = "The session token for AWS Account"
type = string
default = ""
}