Skip to content

Commit

Permalink
terraform: add tags module (#15303)
Browse files Browse the repository at this point in the history
(cherry picked from commit 85719ef)
  • Loading branch information
v1v authored and mergify[bot] committed Jan 20, 2025
1 parent 86dd0cc commit 61ce651
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functionaltests/TestUpgrade_8_15_4_to_8_16_0/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ module "ec_deployment" {
elasticsearch_zone_count = 1

stack_version = var.stack_version

tags = merge(local.ci_tags, module.tags.tags)
}
7 changes: 7 additions & 0 deletions testing/cloud/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ terraform {
}
}

module "tags" {
source = "../infra/terraform/modules/tags"
project = "cloud"
}

provider "ec" {}

locals {
Expand Down Expand Up @@ -39,4 +44,6 @@ module "ec_deployment" {
"kibana" : coalesce(var.docker_image_tag_override["kibana"], local.docker_image_tag),
"apm" : coalesce(var.docker_image_tag_override["apm"], local.docker_image_tag)
}

tags = module.tags.tags
}

0 comments on commit 61ce651

Please sign in to comment.