Skip to content

Commit

Permalink
QE: Change grafana module to remove hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
vandabarata committed Nov 28, 2022
1 parent ac30989 commit c78183b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 221 deletions.
4 changes: 2 additions & 2 deletions modules/grafana/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ module "grafana" {
mirror = var.base_configuration["mirror"]
server = var.server_configuration["hostname"]
locust = var.locust_configuration["hostname"]
product_version = "4.2-nightly"
product_version = var.product_version
}

image = "sles12sp5"
image = var.image
provider_settings = var.provider_settings
}

Expand Down
10 changes: 10 additions & 0 deletions modules/grafana/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,13 @@ variable "provider_settings" {
description = "Map of provider-specific settings, see the backend-specific README file"
default = {}
}

variable "product_version" {
description = "A valid SUSE Manager version (eg. 4.2-nightly, head) see README_ADVANCED.md"
default = "released"
}

variable "image" {
description = "An image name, e.g. sles12sp4 or opensuse154o"
type = string
}
37 changes: 0 additions & 37 deletions modules/monitoring_server/main.tf

This file was deleted.

120 changes: 0 additions & 120 deletions modules/monitoring_server/variables.tf

This file was deleted.

13 changes: 0 additions & 13 deletions modules/monitoring_server/versions.tf

This file was deleted.

35 changes: 0 additions & 35 deletions salt/monitoring_server/certs/ca.cert.pem

This file was deleted.

14 changes: 0 additions & 14 deletions salt/monitoring_server/init.sls

This file was deleted.

0 comments on commit c78183b

Please sign in to comment.