Skip to content

Commit

Permalink
apply changes
Browse files Browse the repository at this point in the history
Signed-off-by: guyrenny <[email protected]>
  • Loading branch information
guyrenny committed Oct 1, 2023
1 parent e608893 commit ac00e30
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 43 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 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"
type = string
sensitive = true
}
Expand Down Expand Up @@ -85,7 +85,7 @@ variable "tags" {
}

variable "layer_arn" {
description = "In case you are using SM 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 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 SM with your secret that contains coralogix private key"
description = "Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key"
type = string
default = "True"
}
6 changes: 3 additions & 3 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 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"
type = string
sensitive = true
}
Expand Down Expand Up @@ -80,7 +80,7 @@ variable "tags" {
}

variable "layer_arn" {
description = "In case you are using SM 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 Layer."
type = string
default = ""
}
Expand All @@ -92,7 +92,7 @@ variable "custom_s3_bucket" {
}

variable "create_secret" {
description = "Set to False In case you want to use SM with your secret that contains coralogix private key"
description = "Set to False In case you want to use Secret Manager with your secret that contains coralogix 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 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"
type = string
sensitive = true
}

variable "layer_arn" {
description = "In case you are using SM 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 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 SM with your secret that contains coralogix private key"
description = "Set to False In case you want to use Secret Manager with your secret that contains coralogix 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 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"
type = string
sensitive = true
}

variable "layer_arn" {
description = "In case you are using SM 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 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 SM with your secret that contains coralogix private key"
description = "Set to False In case you want to use Secret Manager with your secret that contains coralogix Data API key"
type = string
default = "True"
}
8 changes: 4 additions & 4 deletions modules/cloudwatch-logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Manage the application which retrieves `CloudWatch` logs and sends them to your
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | Cloudwatch log group|

### Note:
* in case you use SM(Secret Manager) you should first deploy the [SM lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer)
* in case you use Secret Manager you should first deploy the [SM lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer), you should only deploy one layer per region.

## Providers

Expand All @@ -32,9 +32,9 @@ 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 SM This is the ARN of the Coralogix [Security 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 SM with your secret that contains coralogix Private 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 Private Key| `string` | n/a | yes |
| <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_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
6 changes: 3 additions & 3 deletions 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 private key which is used to validate your authenticity"
description = "The Coralogix Data API key which is used to validate your authenticity"
type = string
sensitive = true
}
Expand Down Expand Up @@ -85,7 +85,7 @@ variable "tags" {
}

variable "layer_arn" {
description = "In case you are using SM 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 SM with your secret that contains coralogix private 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"
}
8 changes: 4 additions & 4 deletions modules/kinesis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Manage the application which retrieves logs from `S3` bucket and sends them to y
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.23 |

### Note:
* in case you use SM(Secret Manager) you should first deploy the [SM lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer)
* in case you use Secret Manager you should first deploy the [SM lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer), you should only deploy one layer per region.

## Providers

Expand All @@ -31,9 +31,9 @@ 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 SM This is the ARN of the Coralogix [Security 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 SM with your secret that contains coralogix Private 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 Private Key| `string` | n/a | yes |
| <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_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
6 changes: 3 additions & 3 deletions 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 private key which is used to validate your authenticity"
description = "The Coralogix Data API key which is used to validate your authenticity"
type = string
sensitive = true
}
Expand Down Expand Up @@ -80,7 +80,7 @@ variable "tags" {
}

variable "layer_arn" {
description = "In case you are using SM 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 @@ -92,7 +92,7 @@ variable "custom_s3_bucket" {
}

variable "create_secret" {
description = "Set to False In case you want to use SM with your secret that contains coralogix private 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/lambda-secretLayer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Coralogx Layer for SM private_key
## Coralogx Layer for Secret Manager Data API key

This Lambda Layer allows to store Coralogix Private Key in SM.
This Lambda Layer allows to store Coralogix Data API key in Secret Manager.

You will need to deploy one layer per AWS Region you want to use. For now.

Expand Down
2 changes: 1 addition & 1 deletion modules/lambda-secretLayer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data "aws_region" "this" {}

resource "aws_lambda_layer_version" "coralogix_smlayer" {
layer_name = "coralogix-smlayer"
description = "Lambda function layer for using SM for PrivateKey safe keeping"
description = "Lambda function layer for using Secret Manager for Data API key safe keeping"
license_info = "Apache-2.0"
compatible_runtimes = ["nodejs16.x", "nodejs18.x", "nodejs14.x"]
compatible_architectures = ["x86_64", "arm64"]
Expand Down
8 changes: 4 additions & 4 deletions modules/resource-metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Manage the application which retrieves `meta data` from your aws account and sen
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.23 |

### Note:
* in case you use SM(Secret Manager) you should first deploy the [SM lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer)
* in case you use Secret Manager you should first deploy the [SM lambda layer](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/597078901540/Coralogix-Lambda-SSMLayer), you should only deploy one layer per region.

## Providers

Expand All @@ -31,9 +31,9 @@ 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 SM This is the ARN of the Coralogix [Security 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 SM with your secret that contains coralogix Private 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 Private Key| `string` | n/a | yes |
| <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_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
4 changes: 2 additions & 2 deletions modules/resource-metadata/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable "private_key" {
}

variable "layer_arn" {
description = "In case you are using SM 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 SM with your secret that contains coralogix private 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"
}
2 changes: 1 addition & 1 deletion modules/s3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## S3

### 0.0.3 / 1.10.2023
* [Change] Change SSM option in the integration to SM - Secret Manager.
* [Change] Change SSM option in the integration to Secret Manager.

### 0.0.2 / 16.8.2023
* [Update] Add an option to use an existing secret instead of creating a new one with SSM, and remove ssm_enabled variable.
Expand Down
Loading

0 comments on commit ac00e30

Please sign in to comment.