Skip to content

Commit

Permalink
[CI] BK integration tests: ESS deployment adjustments (#6150)
Browse files Browse the repository at this point in the history
* [CI] BK integration tests: made ESS deployment equat to the ess_provisioner

* Added integrations server configuration id
  • Loading branch information
pazone authored Nov 27, 2024
1 parent 0f5fbd7 commit 4cbc18b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions test_infra/ess/deployment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ locals {
deployment_version = data.ec_stack.latest.version

ess_region = coalesce(var.ess_region, "gcp-us-east1")
deployment_template_id = coalesce(var.deployment_template_id, "gcp-cpu-optimized")
deployment_template_id = coalesce(var.deployment_template_id, "gcp-storage-optimized")
}

# If we have defined a stack version, validate that this version exists on that region and return it.
Expand All @@ -59,17 +59,19 @@ resource "ec_deployment" "integration-testing" {
version = local.deployment_version

elasticsearch = {
autoscale = false
autoscale = false
instance_configuration_id = "gcp.es.datahot.n2.68x10x45"

hot = {
autoscaling = {}
size = "4g"
size = "8g"
zone_count = 1
}
}
kibana = {
size = "1g"
zone_count = 1
size = "1g"
zone_count = 1
instance_configuration_id = "gcp.kibana.n2.68x32x45"
config = {
user_settings_json = jsonencode({
"xpack.fleet.enableExperimental" = ["agentTamperProtectionEnabled"]
Expand All @@ -80,6 +82,7 @@ resource "ec_deployment" "integration-testing" {
}

integrations_server = {
instance_configuration_id = "gcp.integrationsserver.n2.68x32x45"
topology = {
size = "1g"
zone_count = 1
Expand Down

0 comments on commit 4cbc18b

Please sign in to comment.