Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgin314 committed Mar 6, 2025
1 parent 61b9080 commit cdc7992
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/simple/open-telemetry.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module "metrics-server" {
region = var.region
profile = var.profile
cluster_name = var.cluster_name

namespace = var.namespace
loki_endpoint = var.loki_endpoint
tempo_endpoint = var.tempo_endpoint
tags = var.tags
}
18 changes: 18 additions & 0 deletions examples/simple/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,21 @@ variable "tags" {
type = map(string)
default = {}
}

variable "namespace" {
description = "Namespace into which to install"
type = string
default = ""
}

variable "loki_endpoint" {
description = "The endpoint for the loki service"
type = string
default = ""
}

variable "tempo_endpoint" {
description = "The endpoint for the tempo service"
type = string
default = ""
}

0 comments on commit cdc7992

Please sign in to comment.