Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix(monitoring): remove WORKLOADS monitoring as this will be deprecat…
Browse files Browse the repository at this point in the history
…ed soon
  • Loading branch information
Alan-pad committed Sep 9, 2022
1 parent 2fcf03d commit 0a0768f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ resource "google_container_cluster" "this" {
datapath_provider = "ADVANCED_DATAPATH"

monitoring_config {
enable_components = var.monitoring ? ["SYSTEM_COMPONENTS", "WORKLOADS"] : ["SYSTEM_COMPONENTS"]
enable_components = ["SYSTEM_COMPONENTS"]
}

logging_config {
Expand Down
6 changes: 0 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ variable "logging" {
default = false
}

variable "monitoring" {
description = "Enables Cloud Monitoring for workloads"
type = bool
default = false
}

variable "network" {
description = "The network parameters used to deploy the resources"
type = object({
Expand Down

0 comments on commit 0a0768f

Please sign in to comment.