File tree 3 files changed +13
-9
lines changed
dev-tools/cloud/terraform
3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 9
9
DOCKER_IMAGE_LATEST_TAG : " latest" # needs to rename for rollback
10
10
DOCKER_IMAGE_GIT_TAG : " ${BUILDKITE_BRANCH}" # needs to rename for rollback
11
11
GO_AGENT_IMAGE : " golang:${GO_VERSION}"
12
- TERRAFORM_VERSION : " 1.6.3 "
12
+ TERRAFORM_VERSION : " 1.6.4 "
13
13
14
14
steps :
15
15
- group : " Check and build"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
4
4
required_providers {
5
5
ec = {
6
6
source = " elastic/ec"
7
- version = " 0.5.1 "
7
+ version = " 0.9.0 "
8
8
}
9
9
}
10
10
}
@@ -58,12 +58,16 @@ resource "ec_deployment" "deployment" {
58
58
" creator" = var.creator
59
59
}
60
60
61
- elasticsearch {}
61
+ elasticsearch = {
62
+ hot = {
63
+ autoscaling = {}
64
+ }
65
+ }
62
66
63
- kibana {}
67
+ kibana = {}
64
68
65
- integrations_server {
66
- config {
69
+ integrations_server = {
70
+ config = {
67
71
docker_image = local.docker_image_ea
68
72
}
69
73
}
Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ output "elasticsearch_password" {
16
16
}
17
17
18
18
output "elasticsearch_url" {
19
- value = ec_deployment. deployment . elasticsearch . 0 . https_endpoint
19
+ value = ec_deployment. deployment . elasticsearch . https_endpoint
20
20
description = " The secure Elasticsearch URL"
21
21
}
22
22
23
23
output "kibana_url" {
24
- value = ec_deployment. deployment . kibana . 0 . https_endpoint
24
+ value = ec_deployment. deployment . kibana . https_endpoint
25
25
description = " The secure Kibana URL"
26
26
}
27
27
28
28
output "fleet_url" {
29
- value = ec_deployment. deployment . integrations_server . 0 . fleet_https_endpoint
29
+ value = ec_deployment. deployment . integrations_server . endpoints != null ? ec_deployment . deployment . integrations_server . endpoints . fleet : " "
30
30
description = " The secure Fleet URL"
31
31
}
You can’t perform that action at this time.
0 commit comments