From 91c65a93065781007bc27f7d4c0e7c94f7f3f051 Mon Sep 17 00:00:00 2001 From: Akhil Dangore Date: Mon, 26 Aug 2024 15:47:07 +0530 Subject: [PATCH] Updated korea deployment --- aws/cloudtrail/examples/default/README.md | 2 +- .../examples/default/main.auto.tfvars | 2 +- aws/cloudtrail/examples/default/variables.tf | 7 ++++--- .../examples/default/README.md | 2 +- .../examples/default/main.auto.tfvars | 2 +- .../examples/default/variables.tf | 7 ++++--- .../examples/default/main.auto.tfvars | 2 +- .../examples/default/README.md | 2 +- .../examples/default/main.auto.tfvars | 2 +- .../examples/default/variables.tf | 7 ++++--- aws/elb/examples/default/README.md | 10 +++++----- aws/elb/examples/default/main.auto.tfvars | 2 +- aws/elb/examples/default/variables.tf | 7 ++++--- .../examples/default/README.md | 10 +++++----- .../examples/default/main.auto.tfvars | 2 +- .../examples/default/variables.tf | 7 ++++--- .../examples/default/README.md | 10 +++++----- .../examples/default/main.auto.tfvars | 2 +- .../examples/default/variables.tf | 7 ++++--- aws/rootcause/examples/default/README.md | 10 +++++----- .../examples/default/main.auto.tfvars | 2 +- aws/rootcause/examples/default/variables.tf | 7 ++++--- sumologic/README.md | 20 +++++++++---------- sumologic/variables.tf | 7 ++++--- terratest/README.md | 2 +- 25 files changed, 74 insertions(+), 66 deletions(-) diff --git a/aws/cloudtrail/examples/default/README.md b/aws/cloudtrail/examples/default/README.md index 639ef67..e071a31 100644 --- a/aws/cloudtrail/examples/default/README.md +++ b/aws/cloudtrail/examples/default/README.md @@ -36,7 +36,7 @@ |------|-------------|------|---------|:--------:| | [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | | [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed or us1. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | +| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | | [sumologic\_organization\_id](#input\_sumologic\_organization\_id) | You can find your org on the Preferences page in the Sumo Logic UI. For more information, see the Preferences Page topic. Your org ID will be used to configure the IAM Role for Sumo Logic AWS Sources."
For more details, visit https://help.sumologic.com/01Start-Here/05Customize-Your-Sumo-Logic-Experience/Preferences-Page | `string` | n/a | yes | ## Outputs diff --git a/aws/cloudtrail/examples/default/main.auto.tfvars b/aws/cloudtrail/examples/default/main.auto.tfvars index f10b21d..6521946 100644 --- a/aws/cloudtrail/examples/default/main.auto.tfvars +++ b/aws/cloudtrail/examples/default/main.auto.tfvars @@ -1,5 +1,5 @@ ####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT ####### -sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1. +sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed, us1 or kr. sumologic_organization_id = "" # Please replace (including brackets) with your Sumo Logic Organization ID. sumologic_access_id = "" # Please replace (including brackets) with your Sumo Logic Access ID. sumologic_access_key = "" # Please replace (including brackets) with your Sumo Logic Access KEY. diff --git a/aws/cloudtrail/examples/default/variables.tf b/aws/cloudtrail/examples/default/variables.tf index 0f97b0f..66c5f28 100644 --- a/aws/cloudtrail/examples/default/variables.tf +++ b/aws/cloudtrail/examples/default/variables.tf @@ -1,6 +1,6 @@ variable "sumologic_environment" { type = string - description = "Enter au, ca, de, eu, jp, us2, in, fed or us1. 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, de, eu, jp, us2, in, fed, us1 or kr. 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([ @@ -12,8 +12,9 @@ variable "sumologic_environment" { "us1", "us2", "in", - "fed"], var.sumologic_environment) - error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, or fed." + "fed", + "kr"], var.sumologic_environment) + error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, fed or kr." } } diff --git a/aws/cloudwatchlogsforwarder/examples/default/README.md b/aws/cloudwatchlogsforwarder/examples/default/README.md index 11c34c2..4b402b1 100644 --- a/aws/cloudwatchlogsforwarder/examples/default/README.md +++ b/aws/cloudwatchlogsforwarder/examples/default/README.md @@ -31,7 +31,7 @@ |------|-------------|------|---------|:--------:| | [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | | [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed or us1. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | +| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | | [sumologic\_organization\_id](#input\_sumologic\_organization\_id) | You can find your org on the Preferences page in the Sumo Logic UI. For more information, see the Preferences Page topic. Your org ID will be used to configure the IAM Role for Sumo Logic AWS Sources."
For more details, visit https://help.sumologic.com/01Start-Here/05Customize-Your-Sumo-Logic-Experience/Preferences-Page | `string` | n/a | yes | ## Outputs diff --git a/aws/cloudwatchlogsforwarder/examples/default/main.auto.tfvars b/aws/cloudwatchlogsforwarder/examples/default/main.auto.tfvars index f10b21d..6521946 100644 --- a/aws/cloudwatchlogsforwarder/examples/default/main.auto.tfvars +++ b/aws/cloudwatchlogsforwarder/examples/default/main.auto.tfvars @@ -1,5 +1,5 @@ ####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT ####### -sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1. +sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed, us1 or kr. sumologic_organization_id = "" # Please replace (including brackets) with your Sumo Logic Organization ID. sumologic_access_id = "" # Please replace (including brackets) with your Sumo Logic Access ID. sumologic_access_key = "" # Please replace (including brackets) with your Sumo Logic Access KEY. diff --git a/aws/cloudwatchlogsforwarder/examples/default/variables.tf b/aws/cloudwatchlogsforwarder/examples/default/variables.tf index 0f97b0f..66c5f28 100644 --- a/aws/cloudwatchlogsforwarder/examples/default/variables.tf +++ b/aws/cloudwatchlogsforwarder/examples/default/variables.tf @@ -1,6 +1,6 @@ variable "sumologic_environment" { type = string - description = "Enter au, ca, de, eu, jp, us2, in, fed or us1. 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, de, eu, jp, us2, in, fed, us1 or kr. 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([ @@ -12,8 +12,9 @@ variable "sumologic_environment" { "us1", "us2", "in", - "fed"], var.sumologic_environment) - error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, or fed." + "fed", + "kr"], var.sumologic_environment) + error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, fed or kr." } } diff --git a/aws/cloudwatchmetrics/examples/default/main.auto.tfvars b/aws/cloudwatchmetrics/examples/default/main.auto.tfvars index 4ea029c..02feb50 100644 --- a/aws/cloudwatchmetrics/examples/default/main.auto.tfvars +++ b/aws/cloudwatchmetrics/examples/default/main.auto.tfvars @@ -1,5 +1,5 @@ ####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT ####### -sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1. +sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed, us1 or kr. sumologic_organization_id = "" # Please replace (including brackets) with your Sumo Logic Organization ID. sumologic_access_id = "" # Please replace (including brackets) with your Sumo Logic Access ID. sumologic_access_key = "" # Please replace (including brackets) with your Sumo Logic Access KEY. \ No newline at end of file diff --git a/aws/elasticloadbalancing/examples/default/README.md b/aws/elasticloadbalancing/examples/default/README.md index 92cc114..bf9c4fc 100644 --- a/aws/elasticloadbalancing/examples/default/README.md +++ b/aws/elasticloadbalancing/examples/default/README.md @@ -28,7 +28,7 @@ No resources. |------|-------------|------|---------|:--------:| | [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | | [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed or us1. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | +| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | | [sumologic\_organization\_id](#input\_sumologic\_organization\_id) | You can find your org on the Preferences page in the Sumo Logic UI. For more information, see the Preferences Page topic. Your org ID will be used to configure the IAM Role for Sumo Logic AWS Sources."
For more details, visit https://help.sumologic.com/01Start-Here/05Customize-Your-Sumo-Logic-Experience/Preferences-Page | `string` | n/a | yes | ## Outputs diff --git a/aws/elasticloadbalancing/examples/default/main.auto.tfvars b/aws/elasticloadbalancing/examples/default/main.auto.tfvars index da74af7..43720ab 100644 --- a/aws/elasticloadbalancing/examples/default/main.auto.tfvars +++ b/aws/elasticloadbalancing/examples/default/main.auto.tfvars @@ -1,6 +1,6 @@ ####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT ####### # Visit - https://help.sumologic.com/Solutions/AWS_Observability_Solution/03_Set_Up_the_AWS_Observability_Solution#sumo-logic-access-configuration-required -sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1. +sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed, us1 or kr. sumologic_access_id = "" # Please replace (including brackets) with your Sumo Logic Access ID. sumologic_access_key = "" # Please replace (including brackets) with your Sumo Logic Access KEY. sumologic_organization_id = "" # Please replace (including brackets) with your Sumo Logic Organization ID. \ No newline at end of file diff --git a/aws/elasticloadbalancing/examples/default/variables.tf b/aws/elasticloadbalancing/examples/default/variables.tf index ba86a0f..695fbaf 100644 --- a/aws/elasticloadbalancing/examples/default/variables.tf +++ b/aws/elasticloadbalancing/examples/default/variables.tf @@ -1,6 +1,6 @@ variable "sumologic_environment" { type = string - description = "Enter au, ca, de, eu, jp, us2, in, fed or us1. 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, de, eu, jp, us2, in, fed, us1 or kr. 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([ @@ -12,8 +12,9 @@ variable "sumologic_environment" { "us1", "us2", "in", - "fed"], var.sumologic_environment) - error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, or fed." + "fed", + "kr"], var.sumologic_environment) + error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, fed or kr." } } diff --git a/aws/elb/examples/default/README.md b/aws/elb/examples/default/README.md index 177f4f3..f4f0b98 100644 --- a/aws/elb/examples/default/README.md +++ b/aws/elb/examples/default/README.md @@ -24,11 +24,11 @@ No resources. ## Inputs -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed or us1. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | +| Name | Description | Type | Default | Required | +|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|---------|:--------:| +| [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | +| [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | +| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | | [sumologic\_organization\_id](#input\_sumologic\_organization\_id) | You can find your org on the Preferences page in the Sumo Logic UI. For more information, see the Preferences Page topic. Your org ID will be used to configure the IAM Role for Sumo Logic AWS Sources."
For more details, visit https://help.sumologic.com/01Start-Here/05Customize-Your-Sumo-Logic-Experience/Preferences-Page | `string` | n/a | yes | ## Outputs diff --git a/aws/elb/examples/default/main.auto.tfvars b/aws/elb/examples/default/main.auto.tfvars index da74af7..43720ab 100644 --- a/aws/elb/examples/default/main.auto.tfvars +++ b/aws/elb/examples/default/main.auto.tfvars @@ -1,6 +1,6 @@ ####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT ####### # Visit - https://help.sumologic.com/Solutions/AWS_Observability_Solution/03_Set_Up_the_AWS_Observability_Solution#sumo-logic-access-configuration-required -sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1. +sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed, us1 or kr. sumologic_access_id = "" # Please replace (including brackets) with your Sumo Logic Access ID. sumologic_access_key = "" # Please replace (including brackets) with your Sumo Logic Access KEY. sumologic_organization_id = "" # Please replace (including brackets) with your Sumo Logic Organization ID. \ No newline at end of file diff --git a/aws/elb/examples/default/variables.tf b/aws/elb/examples/default/variables.tf index ba86a0f..695fbaf 100644 --- a/aws/elb/examples/default/variables.tf +++ b/aws/elb/examples/default/variables.tf @@ -1,6 +1,6 @@ variable "sumologic_environment" { type = string - description = "Enter au, ca, de, eu, jp, us2, in, fed or us1. 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, de, eu, jp, us2, in, fed, us1 or kr. 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([ @@ -12,8 +12,9 @@ variable "sumologic_environment" { "us1", "us2", "in", - "fed"], var.sumologic_environment) - error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, or fed." + "fed", + "kr"], var.sumologic_environment) + error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, fed or kr." } } diff --git a/aws/kinesisfirehoseforlogs/examples/default/README.md b/aws/kinesisfirehoseforlogs/examples/default/README.md index 0ff65cb..8364375 100644 --- a/aws/kinesisfirehoseforlogs/examples/default/README.md +++ b/aws/kinesisfirehoseforlogs/examples/default/README.md @@ -24,11 +24,11 @@ No resources. ## Inputs -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed or us1. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | +| Name | Description | Type | Default | Required | +|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|---------|:--------:| +| [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | +| [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | +| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | | [sumologic\_organization\_id](#input\_sumologic\_organization\_id) | You can find your org on the Preferences page in the Sumo Logic UI. For more information, see the Preferences Page topic. Your org ID will be used to configure the IAM Role for Sumo Logic AWS Sources."
For more details, visit https://help.sumologic.com/01Start-Here/05Customize-Your-Sumo-Logic-Experience/Preferences-Page | `string` | n/a | yes | ## Outputs diff --git a/aws/kinesisfirehoseforlogs/examples/default/main.auto.tfvars b/aws/kinesisfirehoseforlogs/examples/default/main.auto.tfvars index da74af7..43720ab 100644 --- a/aws/kinesisfirehoseforlogs/examples/default/main.auto.tfvars +++ b/aws/kinesisfirehoseforlogs/examples/default/main.auto.tfvars @@ -1,6 +1,6 @@ ####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT ####### # Visit - https://help.sumologic.com/Solutions/AWS_Observability_Solution/03_Set_Up_the_AWS_Observability_Solution#sumo-logic-access-configuration-required -sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1. +sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed, us1 or kr. sumologic_access_id = "" # Please replace (including brackets) with your Sumo Logic Access ID. sumologic_access_key = "" # Please replace (including brackets) with your Sumo Logic Access KEY. sumologic_organization_id = "" # Please replace (including brackets) with your Sumo Logic Organization ID. \ No newline at end of file diff --git a/aws/kinesisfirehoseforlogs/examples/default/variables.tf b/aws/kinesisfirehoseforlogs/examples/default/variables.tf index ba86a0f..695fbaf 100644 --- a/aws/kinesisfirehoseforlogs/examples/default/variables.tf +++ b/aws/kinesisfirehoseforlogs/examples/default/variables.tf @@ -1,6 +1,6 @@ variable "sumologic_environment" { type = string - description = "Enter au, ca, de, eu, jp, us2, in, fed or us1. 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, de, eu, jp, us2, in, fed, us1 or kr. 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([ @@ -12,8 +12,9 @@ variable "sumologic_environment" { "us1", "us2", "in", - "fed"], var.sumologic_environment) - error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, or fed." + "fed", + "kr"], var.sumologic_environment) + error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, fed or kr." } } diff --git a/aws/kinesisfirehoseformetrics/examples/default/README.md b/aws/kinesisfirehoseformetrics/examples/default/README.md index 58d4046..b2c1f50 100644 --- a/aws/kinesisfirehoseformetrics/examples/default/README.md +++ b/aws/kinesisfirehoseformetrics/examples/default/README.md @@ -24,11 +24,11 @@ No resources. ## Inputs -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed or us1. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | +| Name | Description | Type | Default | Required | +|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|---------|:--------:| +| [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | +| [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | +| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | | [sumologic\_organization\_id](#input\_sumologic\_organization\_id) | You can find your org on the Preferences page in the Sumo Logic UI. For more information, see the Preferences Page topic. Your org ID will be used to configure the IAM Role for Sumo Logic AWS Sources."
For more details, visit https://help.sumologic.com/01Start-Here/05Customize-Your-Sumo-Logic-Experience/Preferences-Page | `string` | n/a | yes | ## Outputs diff --git a/aws/kinesisfirehoseformetrics/examples/default/main.auto.tfvars b/aws/kinesisfirehoseformetrics/examples/default/main.auto.tfvars index da74af7..43720ab 100644 --- a/aws/kinesisfirehoseformetrics/examples/default/main.auto.tfvars +++ b/aws/kinesisfirehoseformetrics/examples/default/main.auto.tfvars @@ -1,6 +1,6 @@ ####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT ####### # Visit - https://help.sumologic.com/Solutions/AWS_Observability_Solution/03_Set_Up_the_AWS_Observability_Solution#sumo-logic-access-configuration-required -sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1. +sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed, us1 or kr. sumologic_access_id = "" # Please replace (including brackets) with your Sumo Logic Access ID. sumologic_access_key = "" # Please replace (including brackets) with your Sumo Logic Access KEY. sumologic_organization_id = "" # Please replace (including brackets) with your Sumo Logic Organization ID. \ No newline at end of file diff --git a/aws/kinesisfirehoseformetrics/examples/default/variables.tf b/aws/kinesisfirehoseformetrics/examples/default/variables.tf index ba86a0f..695fbaf 100644 --- a/aws/kinesisfirehoseformetrics/examples/default/variables.tf +++ b/aws/kinesisfirehoseformetrics/examples/default/variables.tf @@ -1,6 +1,6 @@ variable "sumologic_environment" { type = string - description = "Enter au, ca, de, eu, jp, us2, in, fed or us1. 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, de, eu, jp, us2, in, fed, us1 or kr. 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([ @@ -12,8 +12,9 @@ variable "sumologic_environment" { "us1", "us2", "in", - "fed"], var.sumologic_environment) - error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, or fed." + "fed", + "kr"], var.sumologic_environment) + error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, fed or kr." } } diff --git a/aws/rootcause/examples/default/README.md b/aws/rootcause/examples/default/README.md index 94997c5..01f88a9 100644 --- a/aws/rootcause/examples/default/README.md +++ b/aws/rootcause/examples/default/README.md @@ -29,11 +29,11 @@ ## Inputs -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | -| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed or us1. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | +| Name | Description | Type | Default | Required | +|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|---------|:--------:| +| [sumologic\_access\_id](#input\_sumologic\_access\_id) | Sumo Logic Access ID. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | +| [sumologic\_access\_key](#input\_sumologic\_access\_key) | Sumo Logic Access Key. Visit https://help.sumologic.com/Manage/Security/Access-Keys#Create_an_access_key | `string` | n/a | yes | +| [sumologic\_environment](#input\_sumologic\_environment) | Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. For more information on Sumo Logic deployments visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | | [sumologic\_organization\_id](#input\_sumologic\_organization\_id) | You can find your org on the Preferences page in the Sumo Logic UI. For more information, see the Preferences Page topic. Your org ID will be used to configure the IAM Role for Sumo Logic AWS Sources."
For more details, visit https://help.sumologic.com/01Start-Here/05Customize-Your-Sumo-Logic-Experience/Preferences-Page | `string` | n/a | yes | ## Outputs diff --git a/aws/rootcause/examples/default/main.auto.tfvars b/aws/rootcause/examples/default/main.auto.tfvars index f10b21d..6521946 100644 --- a/aws/rootcause/examples/default/main.auto.tfvars +++ b/aws/rootcause/examples/default/main.auto.tfvars @@ -1,5 +1,5 @@ ####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT ####### -sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1. +sumologic_environment = "" # Please replace (including brackets) with au, ca, de, eu, jp, us2, in, fed, us1 or kr. sumologic_organization_id = "" # Please replace (including brackets) with your Sumo Logic Organization ID. sumologic_access_id = "" # Please replace (including brackets) with your Sumo Logic Access ID. sumologic_access_key = "" # Please replace (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 0f97b0f..66c5f28 100644 --- a/aws/rootcause/examples/default/variables.tf +++ b/aws/rootcause/examples/default/variables.tf @@ -1,6 +1,6 @@ variable "sumologic_environment" { type = string - description = "Enter au, ca, de, eu, jp, us2, in, fed or us1. 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, de, eu, jp, us2, in, fed, us1 or kr. 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([ @@ -12,8 +12,9 @@ variable "sumologic_environment" { "us1", "us2", "in", - "fed"], var.sumologic_environment) - error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, or fed." + "fed", + "kr"], var.sumologic_environment) + error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, fed or kr." } } diff --git a/sumologic/README.md b/sumologic/README.md index 092de17..fa9de24 100644 --- a/sumologic/README.md +++ b/sumologic/README.md @@ -24,16 +24,16 @@ This module is used to create Sumo Logic resource. Features include ## Inputs -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| 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 | Sumo Logic Access Key. | `string` | n/a | yes | -| environment | Enter au, ca, de, eu, jp, us2, in, fed or us1. Visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | -| 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 | 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 | The list of Fields to manage within the Sumo Logic AWS Observability Solution |
map(object({
field_name = string
data_type = string
state = bool
}))
| `{}` | no | -| managed\_metric\_rules | The list of metric rules to manage within the Sumo Logic AWS Observability solution. |
map(object({
metric_rule_name = string
match_expression = string
sleep = number
variables_to_extract = list(object({
name = string
tagSequence = string
}))
}))
| `{}` | no | -| managed\_monitors | The list of Monitors to manage within the Sumo Logic AWS Observability Solution |
map(object({
monitor_name = string
monitor_description = string
monitor_monitor_type = string
monitor_parent_id = string
monitor_is_disabled = bool
queries = map(string)
triggers = list(object({
threshold_type = string
threshold = string
time_range = string
occurrence_type = string
trigger_source = string
trigger_type = string
detection_method = string
}))
connection_notifications = list(object(
{
connection_type = string,
connection_id = string,
payload_override = string,
run_for_trigger_types = list(string)
}
))
email_notifications = list(object(
{
connection_type = string,
recipients = list(string),
subject = string,
time_zone = string,
message_body = string,
run_for_trigger_types = list(string)
}
))
group_notifications = bool
}))
| `{}` | no | +| Name | Description | Type | Default | Required | +|------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|------|---------|:--------:| +| 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 | Sumo Logic Access Key. | `string` | n/a | yes | +| environment | Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. Visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security | `string` | n/a | yes | +| 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 | 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 | The list of Fields to manage within the Sumo Logic AWS Observability Solution |
map(object({
field_name = string
data_type = string
state = bool
}))
| `{}` | no | +| managed\_metric\_rules | The list of metric rules to manage within the Sumo Logic AWS Observability solution. |
map(object({
metric_rule_name = string
match_expression = string
sleep = number
variables_to_extract = list(object({
name = string
tagSequence = string
}))
}))
| `{}` | no | +| managed\_monitors | The list of Monitors to manage within the Sumo Logic AWS Observability Solution |
map(object({
monitor_name = string
monitor_description = string
monitor_monitor_type = string
monitor_parent_id = string
monitor_is_disabled = bool
queries = map(string)
triggers = list(object({
threshold_type = string
threshold = string
time_range = string
occurrence_type = string
trigger_source = string
trigger_type = string
detection_method = string
}))
connection_notifications = list(object(
{
connection_type = string,
connection_id = string,
payload_override = string,
run_for_trigger_types = list(string)
}
))
email_notifications = list(object(
{
connection_type = string,
recipients = list(string),
subject = string,
time_zone = string,
message_body = string,
run_for_trigger_types = list(string)
}
))
group_notifications = bool
}))
| `{}` | no | ## Outputs diff --git a/sumologic/variables.tf b/sumologic/variables.tf index 10321b2..793651e 100644 --- a/sumologic/variables.tf +++ b/sumologic/variables.tf @@ -1,6 +1,6 @@ variable "environment" { type = string - description = "Enter au, ca, de, eu, jp, us2, in, fed or us1. Visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security" + description = "Enter au, ca, de, eu, jp, us2, in, fed, us1 or kr. Visit https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-and-Firewall-Security" validation { condition = contains([ @@ -12,8 +12,9 @@ variable "environment" { "us1", "us2", "in", - "fed"], var.environment) - error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, or fed." + "fed", + "kr"], var.environment) + error_message = "The value must be one of au, ca, de, eu, jp, us1, us2, in, fed or kr." } } diff --git a/terratest/README.md b/terratest/README.md index fb2643c..cf063b2 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, jp, us1, us2, in, or fed). + - SUMOLOGIC_ENVIRONMENT -> Sumo Logic environment (au, ca, de, eu, jp, us1, us2, in, fed, kr). - SUMOLOGIC_ACCESS_ID -> Sumo Logic Access ID. - SUMOLOGIC_ACCESS_KEY -> Sumo Logic Access key. - SUMOLOGIC_ORG_ID -> Sumo Logic Organization ID.