From 77d3df5a8175369d7e58f65a09995c9c74a6753a Mon Sep 17 00:00:00 2001 From: Eric Lipe Date: Fri, 17 May 2024 09:12:13 -0400 Subject: [PATCH] - Adding timeout section --- terraform/dev/main.tf | 4 ++++ terraform/production/main.tf | 4 ++++ terraform/staging/main.tf | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/terraform/dev/main.tf b/terraform/dev/main.tf index 38b685a22..4708163c3 100644 --- a/terraform/dev/main.tf +++ b/terraform/dev/main.tf @@ -105,4 +105,8 @@ resource "cloudfoundry_service_instance" "elasticsearch" { space = data.cloudfoundry_space.space.id service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-dev"] json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" + timeouts { + create = "60m" + delete = "2h" + } } diff --git a/terraform/production/main.tf b/terraform/production/main.tf index e60d8a411..3684e571d 100644 --- a/terraform/production/main.tf +++ b/terraform/production/main.tf @@ -86,4 +86,8 @@ resource "cloudfoundry_service_instance" "elasticsearch" { space = data.cloudfoundry_space.space.id service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-medium"] json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" + timeouts { + create = "60m" + delete = "2h" + } } diff --git a/terraform/staging/main.tf b/terraform/staging/main.tf index df7173a05..c0f9faa7e 100644 --- a/terraform/staging/main.tf +++ b/terraform/staging/main.tf @@ -86,4 +86,8 @@ resource "cloudfoundry_service_instance" "elasticsearch" { space = data.cloudfoundry_space.space.id service_plan = data.cloudfoundry_service.elasticsearch.service_plans["es-dev"] json_params = "{\"ElasticsearchVersion\": \"Elasticsearch_7.10\"}" + timeouts { + create = "60m" + delete = "2h" + } }