Skip to content

Commit

Permalink
- Adding timeout section
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed May 17, 2024
1 parent 04d9fb8 commit 77d3df5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 4 additions & 0 deletions terraform/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 4 additions & 0 deletions terraform/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 77d3df5

Please sign in to comment.