Skip to content

Commit

Permalink
Merge pull request #76 from SumoLogic/sumo_246628
Browse files Browse the repository at this point in the history
Added support for korea deployment
  • Loading branch information
akhil-sumologic authored Sep 2, 2024
2 parents e2159b2 + 06bd61a commit 2c64cb8
Show file tree
Hide file tree
Showing 56 changed files with 373 additions and 194 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This repository also contains predefined alerts for various technologies. Scroll

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
15 changes: 12 additions & 3 deletions monitor_packages/ActiveMQ/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down
2 changes: 1 addition & 1 deletion monitor_packages/ActiveMQ/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
23 changes: 16 additions & 7 deletions monitor_packages/ApacheTomcat/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down Expand Up @@ -66,8 +75,8 @@ variable "group_notifications" {
type = bool
description = "Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true."
default = true
}
variable "apachetomcat_data_source" {
type = string
description = "Sumo Logic Apache Tomcat Farm Filter. For eg: webserver_farm=tomcat.prod.01"
}
variable "apachetomcat_data_source" {
type = string
description = "Sumo Logic Apache Tomcat Farm Filter. For eg: webserver_farm=tomcat.prod.01"
}
2 changes: 1 addition & 1 deletion monitor_packages/ApacheTomcat/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
15 changes: 12 additions & 3 deletions monitor_packages/Cassandra/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down
2 changes: 1 addition & 1 deletion monitor_packages/Cassandra/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
15 changes: 12 additions & 3 deletions monitor_packages/Couchbase/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down
2 changes: 1 addition & 1 deletion monitor_packages/Couchbase/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
23 changes: 16 additions & 7 deletions monitor_packages/Elasticsearch/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down Expand Up @@ -66,8 +75,8 @@ variable "group_notifications" {
type = bool
description = "Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true."
default = true
}
variable "elasticsearch_data_source" {
type = string
description = "Sumo Logic Elasticsearch cluster Filter. For eg: db_cluster=elasticsearch.prod.01"
}
variable "elasticsearch_data_source" {
type = string
description = "Sumo Logic Elasticsearch cluster Filter. For eg: db_cluster=elasticsearch.prod.01"
}
2 changes: 1 addition & 1 deletion monitor_packages/Elasticsearch/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
23 changes: 16 additions & 7 deletions monitor_packages/IIS/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down Expand Up @@ -66,8 +75,8 @@ variable "group_notifications" {
type = bool
description = "Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true."
default = true
}
variable "iis_data_source" {
type = string
description = "Sumo Logic IIS Farm Filter. For eg: webserver_farm=iis.prod.01"
}
variable "iis_data_source" {
type = string
description = "Sumo Logic IIS Farm Filter. For eg: webserver_farm=iis.prod.01"
}
2 changes: 1 addition & 1 deletion monitor_packages/IIS/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
15 changes: 12 additions & 3 deletions monitor_packages/Kafka/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down
2 changes: 1 addition & 1 deletion monitor_packages/Kafka/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
23 changes: 16 additions & 7 deletions monitor_packages/MariaDB/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down Expand Up @@ -66,8 +75,8 @@ variable "group_notifications" {
type = bool
description = "Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true."
default = true
}
variable "mariadb_data_source" {
type = string
description = "Sumo Logic MariaDB. For eg: dbsystem=MariaDB.prod.01"
}
variable "mariadb_data_source" {
type = string
description = "Sumo Logic MariaDB. For eg: dbsystem=MariaDB.prod.01"
}
2 changes: 1 addition & 1 deletion monitor_packages/MariaDB/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
23 changes: 16 additions & 7 deletions monitor_packages/Memcached/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down Expand Up @@ -66,8 +75,8 @@ variable "group_notifications" {
type = bool
description = "Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true."
default = true
}
variable "memcached_data_source" {
type = string
description = "Sumo Logic Memcached cluster Filter. For eg: db_cluster=memcached.prod.01"
}
variable "memcached_data_source" {
type = string
description = "Sumo Logic Memcached cluster Filter. For eg: db_cluster=memcached.prod.01"
}
2 changes: 1 addition & 1 deletion monitor_packages/Memcached/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
15 changes: 12 additions & 3 deletions monitor_packages/MongoDB/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ variable "environment" {
description = "Please update with your deployment, refer: https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"US1",
"us1","US2","us2","AU","au","CA","ca","DE","de","EU","eu","FED","fed","JP","jp","IN","in"], var.environment)
error_message = "Argument \"environment\" must be one of \"us1\",\"us2\",\"au\",\"ca\",\"de\",\"eu\",\"fed\",\"jp\",\"in\"."
"au",
"ca",
"de",
"eu",
"fed",
"in",
"jp",
"kr",
"us1",
"us2"
], var.environment)
error_message = "The value must be one of au, ca, de, eu, fed, in, jp, kr, us1 or us2."
}
}
variable "folder" {
Expand Down
2 changes: 1 addition & 1 deletion monitor_packages/MongoDB/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {

required_providers {
sumologic = {
version = ">= 2.31.0, < 3.0.0"
version = ">= 2.31.3, < 3.0.0"
source = "SumoLogic/sumologic"
}
}
Expand Down
Loading

0 comments on commit 2c64cb8

Please sign in to comment.