diff --git a/terraform/production/main.tf b/terraform/production/main.tf index 79c1f50bb..0a2ebb719 100644 --- a/terraform/production/main.tf +++ b/terraform/production/main.tf @@ -87,11 +87,11 @@ data "cloudfoundry_service" "elasticsearch" { } resource "cloudfoundry_service_instance" "elasticsearch" { - name = "es-prod" - space = data.cloudfoundry_space.space.id - service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-medium"] + name = "es-prod" + space = data.cloudfoundry_space.space.id + service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-medium"] replace_on_params_change = true - json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" + json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" timeouts { create = "60m" update = "60m" diff --git a/terraform/staging/main.tf b/terraform/staging/main.tf index 0858c4119..6a9af5bde 100644 --- a/terraform/staging/main.tf +++ b/terraform/staging/main.tf @@ -87,11 +87,11 @@ data "cloudfoundry_service" "elasticsearch" { } resource "cloudfoundry_service_instance" "elasticsearch" { - name = "es-staging" - space = data.cloudfoundry_space.space.id - service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-dev"] + name = "es-staging" + space = data.cloudfoundry_space.space.id + service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-dev"] replace_on_params_change = true - json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" + json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" timeouts { create = "60m" update = "60m"