fix
This commit is contained in:
@@ -40,8 +40,8 @@ resource "kubectl_manifest" "prj_mongo" {
|
||||
labels: ${jsonencode(local.mongo-labels)}
|
||||
spec:
|
||||
members: 1
|
||||
type: ReplicaSet
|
||||
version: "7.0.2"
|
||||
type: ${var.mongo_type}
|
||||
version: "${var.mongo_version}"
|
||||
statefulSet:
|
||||
spec:
|
||||
template:
|
||||
|
||||
@@ -18,11 +18,11 @@ variable "username" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
variable "version" {
|
||||
variable "mongo_version" {
|
||||
type = string
|
||||
default = "6.3.2"
|
||||
}
|
||||
variable "type" {
|
||||
variable "mongo_type" {
|
||||
type = string
|
||||
default = "ReplicaSet"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user