Skip to content

Commit

Permalink
fix resource metadata test and sync variable files
Browse files Browse the repository at this point in the history
Signed-off-by: guyrenny <[email protected]>
  • Loading branch information
guyrenny committed Oct 2, 2023
1 parent ac00e30 commit 82521ac
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions examples/cloudwatch-logs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "custom_url" {
}

variable "private_key" {
description = "Your Coralogix secret key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
description = "Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
type = string
sensitive = true
}
Expand Down Expand Up @@ -85,7 +85,7 @@ variable "tags" {
}

variable "layer_arn" {
description = "In case you are using Secret Manager This is the ARN of the Coralogix Security Layer."
description = "In case you are using Secret Manager This is the ARN of the Coralogix Security lambda Layer."
type = string
default = ""
}
Expand All @@ -109,7 +109,7 @@ variable "custom_s3_bucket" {
}

variable "create_secret" {
description = "Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key"
description = "Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key"
type = string
default = "True"
}
4 changes: 2 additions & 2 deletions examples/kinesis/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "custom_url" {
}

variable "private_key" {
description = "Your Coralogix secret key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
description = "Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
type = string
sensitive = true
}
Expand Down Expand Up @@ -92,7 +92,7 @@ variable "custom_s3_bucket" {
}

variable "create_secret" {
description = "Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key"
description = "Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key"
type = string
default = "True"
}
6 changes: 3 additions & 3 deletions examples/resource-metadata/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ variable "custom_url" {
}

variable "private_key" {
description = "Your Coralogix secret key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
description = "Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
type = string
sensitive = true
}

variable "layer_arn" {
description = "In case you are using Secret Manager This is the ARN of the Coralogix Security Layer."
description = "In case you are using Secret Manager This is the ARN of the Coralogix Security lambda Layer."
type = string
default = ""
}
Expand Down Expand Up @@ -92,7 +92,7 @@ variable "custom_s3_bucket" {
}

variable "create_secret" {
description = "Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key"
description = "Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key"
type = string
default = "True"
}
6 changes: 3 additions & 3 deletions examples/s3/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ variable "custom_url" {
}

variable "private_key" {
description = "Your Coralogix secret key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
description = "Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
type = string
sensitive = true
}

variable "layer_arn" {
description = "In case you are using Secret Manager This is the ARN of the Coralogix Security Layer."
description = "In case you are using Secret Manager This is the ARN of the Coralogix Security lambda Layer."
type = string
default = ""
}
Expand Down Expand Up @@ -141,7 +141,7 @@ variable "custom_s3_bucket" {
}

variable "create_secret" {
description = "Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key"
description = "Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key"
type = string
default = "True"
}
4 changes: 2 additions & 2 deletions modules/cloudwatch-logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Manage the application which retrieves `CloudWatch` logs and sends them to your
| <a name="input_coralogix_region"></a> [coralogix\_region](#input\_coralogix\_region) | The Coralogix location region, possible options are [`Europe`, `Europe2`, `India`, `Singapore`, `US`, `US2`] | `string` | `Europe` | yes |
| <a name="input_custom_url"></a> [custom_url](#input\_custom\_domain) | Custom url for coralogix | `string` | n/a | no |
| <a name="input_layer_arn"></a> [layer_arn](#input\_layer\_arn) | In case you want to use Secret Manager This is the ARN of the Coralogix [lambda layer ](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer). | `string` | n/a | no |
| <a name="input_create_secret"></a> [create_secret](#input\_create\_secret) | Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key| `string` | True | no |
| <a name="input_private_key"></a> [private\_key](#input\_private\_key) | Your Coralogix secret key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key| `string` | n/a | yes |
| <a name="input_create_secret"></a> [create_secret](#input\_create\_secret) | Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key| `string` | True | no |
| <a name="input_private_key"></a> [private\_key](#input\_private\_key) | Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key| `string` | n/a | yes |
| <a name="input_application_name"></a> [application\_name](#input\_application\_name) | The name of your application | `string` | n/a | yes |
| <a name="input_subsystem_name"></a> [subsystem\_name](#input\_subsystem\_name) | The subsystem name of your application | `string` | n/a | yes |
| <a name="input_newline_pattern"></a> [newline\_pattern](#input\_newline\_pattern) | The pattern for lines splitting | `string` | `(?:\r\n\|\r\|\n)` | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/cloudwatch-logs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "custom_url" {
}

variable "private_key" {
description = "The Coralogix Data API key which is used to validate your authenticity"
description = "Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
type = string
sensitive = true
}
Expand Down
4 changes: 2 additions & 2 deletions modules/kinesis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Manage the application which retrieves logs from `S3` bucket and sends them to y
| <a name="input_coralogix_region"></a> [coralogix\_region](#input\_coralogix\_region) | The Coralogix location region, possible options are [`Europe`, `Europe2`, `India`, `Singapore`, `US`, `US2`] | `string` | `Europe` | yes |
| <a name="input_custom_url"></a> [custom_url](#input\_custom\_url) | Custom url for coralogix | `string` | n/a | no |
| <a name="input_layer_arn"></a> [layer_arn](#input\_layer\_arn) | In case you want to use Secret Manager This is the ARN of the Coralogix [lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer). | `string` | n/a | no |
| <a name="input_create_secret"></a> [create_secret](#input\_create\_secret) | Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key| `string` | True | no |
| <a name="input_private_key"></a> [private\_key](#input\_private\_key) | Your Coralogix secret key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key| `string` | n/a | yes |
| <a name="input_create_secret"></a> [create_secret](#input\_create\_secret) | Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key| `string` | True | no |
| <a name="input_private_key"></a> [private\_key](#input\_private\_key) | Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key| `string` | n/a | yes |
| <a name="input_application_name"></a> [application\_name](#input\_application\_name) | The name of your application | `string` | n/a | yes |
| <a name="input_subsystem_name"></a> [subsystem\_name](#input\_subsystem\_name) | The subsystem name of your application | `string` | n/a | yes |
| <a name="input_newline_pattern"></a> [newline\_pattern](#input\_newline\_pattern) | The pattern for lines splitting | `string` | `(?:\r\n\|\r\|\n)` | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/kinesis/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "custom_url" {
}

variable "private_key" {
description = "The Coralogix Data API key which is used to validate your authenticity"
description = "Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
type = string
sensitive = true
}
Expand Down
4 changes: 2 additions & 2 deletions modules/resource-metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Manage the application which retrieves `meta data` from your aws account and sen
| <a name="input_coralogix_region"></a> [coralogix\_region](#input\_coralogix\_region) | The Coralogix location region, possible options are [`Europe`, `Europe2`, `India`, `Singapore`, `US`, `US2`, `Custom`] | `string` | n/a | yes |
| <a name="input_custom_url"></a> [custom_url](#input\_custom\_domain) | Custom url for coralogix for example: https://<your_custom_domain>/api/v1/logs| `string` | n/a | no |
| <a name="input_layer_arn"></a> [layer_arn](#input\_layer\_arn) | In case you want to use Secret Manager This is the ARN of the Coralogix [lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer). | `string` | n/a | no |
| <a name="input_create_secret"></a> [create_secret](#input\_create\_secret) | Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key| `string` | True | no |
| <a name="input_private_key"></a> [private\_key](#input\_private\_key) | Your Coralogix secret key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key| `string` | n/a | yes |
| <a name="input_create_secret"></a> [create_secret](#input\_create\_secret) | Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key| `string` | True | no |
| <a name="input_private_key"></a> [private\_key](#input\_private\_key) | Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key| `string` | n/a | yes |
| <a name="input_schedule"></a> [schedule](#input\_schedule) | The rate to collacet metadata | `string` | `rate(10 minutes)` | no |
| <a name="input_latest_versions_per_function"></a> [latest_versions_per_function](#input\_latest\_versions\_per\_function) | How many latest published versions of each Lambda function should be collected | `number` | 5 | no |
| <a name="input_resource_ttl_minutes"></a> [resource_ttl_minutes](#input\_resource\_ttl\_minutes) | Once a resource is collected, how long should it remain valid | `number` | 60 | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/resource-metadata/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ variable "custom_url" {
}

variable "private_key" {
description = "The Coralogix private key which is used to validate your authenticity"
description = "Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
type = string
sensitive = true
}
Expand Down
4 changes: 2 additions & 2 deletions modules/s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Manage the application which retrieves logs from `S3` bucket and sends them to y
| <a name="input_integration_type"></a> [integration_type](#input\_data\_type) | which service will send the data to the s3, possible options are [`cloudtrail`, `vpc-flow-log`, `s3`, `s3-sns`, `cloudtrail-sns`] | `string` | n/a | yes |
| <a name="input_sns_topic_name"></a> [sns_topic_name](#input\_sns\_topic\_name) | The SNS topic that will contain the SNS subscription, need only if you use the sns interations | `string` | | no |
| <a name="input_layer_arn"></a> [layer_arn](#input\_layer\_arn) | In case you want to use Secret Manager This is the ARN of the Coralogix [lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer). | `string` | n/a | no |
| <a name="input_create_secret"></a> [create_secret](#input\_create\_secret) | Set to False In case you want to use Secret Manager option with your secret that contains coralogix Data API key| `string` | True | no |
| <a name="input_private_key"></a> [private\_key](#input\_private\_key) | Your Coralogix secret key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key| `string` | n/a | yes |
| <a name="input_create_secret"></a> [create_secret](#input\_create\_secret) | Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key| `string` | True | no |
| <a name="input_private_key"></a> [private\_key](#input\_private\_key) | Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key| `string` | n/a | yes |
| <a name="input_application_name"></a> [application\_name](#input\_application\_name) | The name of your application | `string` | n/a | yes |
| <a name="input_subsystem_name"></a> [subsystem\_name](#input\_subsystem\_name) | The subsystem name of your application | `string` | n/a | yes |
| <a name="input_custom_s3_bucket"></a> [custom\_s3\_bucket](#input\_custom\_s3\_bucket) | The name of an existing s3 bucket in your region, in which the lambda zip code will be upload to. | `string` | n/a | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/s3/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ variable "custom_url" {
}

variable "private_key" {
description = "The Coralogix private key which is used to validate your authenticity"
description = "Your Coralogix data api key or incase you use your own created secret put here the name of your secret that contains the coralogix Data API key"
type = string
sensitive = true
}
Expand Down
2 changes: 1 addition & 1 deletion tests/resource-metadata/resource-metadata.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
version = "~> 5.0"
}
}
}
Expand Down

0 comments on commit 82521ac

Please sign in to comment.