(including brackets) with your Sumo Logic Access KEY.
diff --git a/aws/rootcause/examples/default/variables.tf b/aws/rootcause/examples/default/variables.tf
index 931c10a..3d36ed4 100644
--- a/aws/rootcause/examples/default/variables.tf
+++ b/aws/rootcause/examples/default/variables.tf
@@ -1,11 +1,12 @@
variable "sumologic_environment" {
type = string
- description = "Enter au, ca, de, eu, fed, jp, kr, us1 or us2. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
+ description = "Enter au, ca, ch, de, eu, fed, jp, kr, us1 or us2. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"au",
"ca",
+ "ch",
"de",
"eu",
"fed",
@@ -14,7 +15,7 @@ variable "sumologic_environment" {
"us1",
"us2"
], var.sumologic_environment)
- error_message = "The value must be one of au, ca, de, eu, fed, jp, kr, us1 or us2."
+ error_message = "The value must be one of au, ca, ch, de, eu, fed, jp, kr, us1 or us2."
}
}
diff --git a/sumologic/README.md b/sumologic/README.md
index 6ee5464..c0555cf 100644
--- a/sumologic/README.md
+++ b/sumologic/README.md
@@ -43,7 +43,7 @@ This module is used to create Sumo Logic resource. Features include
|------|-------------|------|---------|:--------:|
| [access\_id](#input\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes |
| [access\_key](#input\_access\_key) | Sumo Logic Access Key. | `string` | n/a | yes |
-| [environment](#input\_environment) | Enter au, ca, de, eu, fed, jp, kr, us1 or us2. Visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes |
+| [environment](#input\_environment) | Enter au, ca, ch, de, eu, fed, jp, kr, us1 or us2. Visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes |
| [managed\_apps](#input\_managed\_apps) | The list of Application to manage within the Sumo Logic AWS Observability Solution | map(object({
folder_id = string
content_json = string
})) | `{}` | no |
| [managed\_field\_extraction\_rules](#input\_managed\_field\_extraction\_rules) | The list of Field Extraction Rules to manage within the Sumo Logic AWS Observability Solution | map(object({
name = string
parse_expression = string
scope = string
enabled = bool
})) | `{}` | no |
| [managed\_fields](#input\_managed\_fields) | The list of Fields to manage within the Sumo Logic AWS Observability Solution | map(object({
field_name = string
data_type = string
state = bool
})) | `{}` | no |
diff --git a/sumologic/variables.tf b/sumologic/variables.tf
index 8732c7d..13e29cd 100644
--- a/sumologic/variables.tf
+++ b/sumologic/variables.tf
@@ -1,11 +1,12 @@
variable "environment" {
type = string
- description = "Enter au, ca, de, eu, fed, jp, kr, us1 or us2. Visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
+ description = "Enter au, ca, ch, de, eu, fed, jp, kr, us1 or us2. Visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security"
validation {
condition = contains([
"au",
"ca",
+ "ch",
"de",
"eu",
"fed",
@@ -14,7 +15,7 @@ variable "environment" {
"us1",
"us2"
], var.environment)
- error_message = "The value must be one of au, ca, de, eu, fed, jp, kr, us1 or us2."
+ error_message = "The value must be one of au, ca, ch, de, eu, fed, jp, kr, us1 or us2."
}
}
diff --git a/terratest/README.md b/terratest/README.md
index d2325f1..4e81dbf 100644
--- a/terratest/README.md
+++ b/terratest/README.md
@@ -29,7 +29,7 @@ Integration test checks for :
## Testing
- Update the `run_tests.sh` to provide below environment variables
- - SUMOLOGIC_ENVIRONMENT -> Sumo Logic environment (au, ca, de, eu, fed, jp, kr, us1 or us2).
+ - SUMOLOGIC_ENVIRONMENT -> Sumo Logic environment (au, ca, ch, de, eu, fed, jp, kr, us1 or us2).
- SUMOLOGIC_ACCESS_ID -> Sumo Logic Access ID.
- SUMOLOGIC_ACCESS_KEY -> Sumo Logic Access key.
- SUMOLOGIC_ORG_ID -> Sumo Logic Organization ID.