Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 0a28cab3 authored by Nicolas's avatar Nicolas
Browse files

Change Elastic cluster name

parent ef71596a
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ data "ec_stack" "stack" { ...@@ -20,7 +20,7 @@ data "ec_stack" "stack" {
} }
resource "ec_deployment" "elasticsearch_cluster" { resource "ec_deployment" "elasticsearch_cluster" {
name = "mon-cluster" name = var.cluster_name
region = data.ec_stack.stack.region region = data.ec_stack.stack.region
version = data.ec_stack.stack.version_regex version = data.ec_stack.stack.version_regex
deployment_template_id = "gcp-storage-optimized" deployment_template_id = "gcp-storage-optimized"
......
...@@ -6,3 +6,9 @@ variable "region" { ...@@ -6,3 +6,9 @@ variable "region" {
type = string type = string
default = "gcp-europe-west1" default = "gcp-europe-west1"
} }
### Cluster
variable "cluster_name" {
type = string
default = "elastic-for-gke-magento"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment