Skip to content

Commit

Permalink
Update terraform ecs provider
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman committed Nov 23, 2023
1 parent 6ed517c commit cdc41a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 9 additions & 5 deletions dev-tools/cloud/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
ec = {
source = "elastic/ec"
version = "0.5.1"
version = "0.9.0"
}
}
}
Expand Down Expand Up @@ -58,12 +58,16 @@ resource "ec_deployment" "deployment" {
"creator" = var.creator
}

elasticsearch {}
elasticsearch = {
hot = {
autoscaling = {}
}
}

kibana {}
kibana = {}

integrations_server {
config {
integrations_server = {
config = {
docker_image = local.docker_image_ea
}
}
Expand Down
6 changes: 3 additions & 3 deletions dev-tools/cloud/terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ output "elasticsearch_password" {
}

output "elasticsearch_url" {
value = ec_deployment.deployment.elasticsearch.0.https_endpoint
value = ec_deployment.deployment.elasticsearch.https_endpoint
description = "The secure Elasticsearch URL"
}

output "kibana_url" {
value = ec_deployment.deployment.kibana.0.https_endpoint
value = ec_deployment.deployment.kibana.https_endpoint
description = "The secure Kibana URL"
}

output "fleet_url" {
value = ec_deployment.deployment.integrations_server.0.fleet_https_endpoint
value = ec_deployment.deployment.integrations_server.endpoints.fleet
description = "The secure Fleet URL"
}

0 comments on commit cdc41a5

Please sign in to comment.