AWS Shipper Terraform Module for SNS Integration
Overview
Our latest AWS integration provides the easiest way to connect with Coralogix. By using a predefined Lambda function, you can seamlessly send AWS logs and events to your Coralogix subscription for detailed analysis, monitoring, and troubleshooting.
SNS configuration
Name | Description | Type | Default | Required |
---|---|---|---|---|
sns_topic_name | The SNS topic containing the SNS subscription. You need this only when using the SNS integration. | string |
n/a | yes |
sns_topic_filter | Map of filters to add to the SNS topic Lambda subscription. | map(any) |
n/a | no |
sns_topic_filter_policy_scope | The scope of the filter policy for the SNS topic Lambda subscription, could be MessageAttributes or MessageBody |
string |
n/a | no |
Configuration examples
SNS (default)
module "coralogix-shipper-sns" {
source = "coralogix/aws/coralogix//modules/coralogix-aws-shipper"
coralogix_region = "EU1"
integration_type = "Sns"
api_key = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"
application_name = "sns-application"
subsystem_name = "sns-subsystem"
sns_topic_name = "sns-topic-name"
]
}
SNS with a filter policy by account-id
module "coralogix-shipper-sns-with-filter" {
source = "coralogix/aws/coralogix//modules/coralogix-aws-shipper"
coralogix_region = "EU1"
integration_type = "Sns"
api_key = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"
application_name = "sns-application"
subsystem_name = "sns-subsystem"
sns_topic_name = "sns-topic-name"
sns_topic_filter_scope = "MessageBody"
sns_topic_filter_policy = {
"account-id" = ["123456789012"]
}
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
coralogix_region | The Coralogix location region, available options: [EU1 , EU2 , AP1 , AP2 , AP3 , US1 , US2 , Custom ] |
string |
n/a | yes |
custom_domain | If using a custom domain name for your private cluster, Coralogix will send telemetry from the specified address (e.g. custom.coralogix.com). There is no need to add ingress. to the domain. |
string |
n/a | no |
integration_type | The AWS service to integrate with Coralogix. Possible values: S3, CloudTrail, VpcFlow, CloudWatch, S3Csv, SNS, SQS, Kinesis, CloudFront, MSK, Kafka, EcrScan. | string |
S3 |
yes |
api_key | The Coralogix Send Your Data - API key validates your authenticity. This value can be a direct Coralogix API key or an AWS secret manager ARN containing the API key. | string |
n/a | yes |
store_api_key_in_secrets_manager | Enable this to store your API key securely. Otherwise, it will remain exposed in plain text as an environment variable in the Lambda function console. | bool | true | no |
application_name | The name of your application. For a dynamic value, use $.my_log.field . This option is not supported since version 1.1.0 for the source code |
string | n\a | yes |
subsystem_name | The name of your subsystem. For a dynamic value, use $.my_log.field for CloudWatch log group leave empty. This option is not supported since version 1.1.0 for the source code |
string | n\a | yes |
For additional configuration options, please refer to our main Terraform documentation.
Theme
Light