Skip to content

Commit

Permalink
- comment back in
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed May 16, 2024
1 parent efe8509 commit 501c003
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions terraform/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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\"}"
}

0 comments on commit 501c003

Please sign in to comment.