From 501c003570e5b8f2127d603fff0d7329e0ab70b6 Mon Sep 17 00:00:00 2001 From: Eric Lipe Date: Thu, 16 May 2024 16:06:05 -0400 Subject: [PATCH] - comment back in --- terraform/dev/main.tf | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/terraform/dev/main.tf b/terraform/dev/main.tf index efe5a6295..38b685a22 100644 --- a/terraform/dev/main.tf +++ b/terraform/dev/main.tf @@ -96,13 +96,13 @@ resource "cloudfoundry_service_instance" "redis" { # Provision elasticsearch ### -# data "cloudfoundry_service" "elasticsearch" { -# name = "aws-elasticsearch" -# } - -# resource "cloudfoundry_service_instance" "elasticsearch" { -# name = "es-dev" -# space = data.cloudfoundry_space.space.id -# service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-dev"] -# json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" -# } +data "cloudfoundry_service" "elasticsearch" { + name = "aws-elasticsearch" +} + +resource "cloudfoundry_service_instance" "elasticsearch" { + name = "es-dev" + space = data.cloudfoundry_space.space.id + service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-dev"] + json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" +}