Skip to content

Commit

Permalink
Add variable to not install cloudwatch adapter by default
Browse files Browse the repository at this point in the history
  • Loading branch information
OlamideOl1 committed Nov 1, 2023
1 parent 66db8f1 commit 913ab8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions platform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ module "cert_manager" {

module "cloudwatch_adapter" {
source = "./modules/cloudwatch-adapter"
count = var.install_cloudwatch_adapter == true ? 1 : 0

chart_values = var.cloudwatch_adapter_values
k8s_namespace = local.flightdeck_namespace
Expand Down
6 changes: 6 additions & 0 deletions platform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ variable "fluent_bit_version" {
default = null
}

variable "install_cloudwatch_adapter" {
type = bool
description = "Boolean to choose if the cloudwatch adapter helm chart can be installed."
default = false
}

variable "istio_base_values" {
description = "Overrides to pass to the Helm chart"
type = list(string)
Expand Down

0 comments on commit 913ab8c

Please sign in to comment.