Name | Version |
---|---|
terraform | >= 1.3.0 |
aws | ~> 4.0 |
Name | Version |
---|---|
archive | n/a |
aws | ~> 4.0 |
null | n/a |
No modules.
Name | Type | Description |
---|---|---|
aws_cloudwatch_metric_alarm.data_copier_error_alarm | resource | CloudWatch Alarm that triggers the error_alert_sns_topic when error message is logged by the data_copier Lambda |
aws_lambda_event_source_mapping.trigger_data_copier_lambda | resource | Set the data_copier SQS as a trigger for the data_copier Lambda |
aws_lambda_function.data_copier | resource | Function that subscribes to the data_copier SQS, copies data, and publishes a message to the data_transformer SQS |
aws_s3_bucket.data_bucket | resource | Destination where data is copied to |
aws_sns_topic.error_alert_sns_topic | resource | SNS topic that sends out an email when triggered |
aws_sns_topic_subscription.data_copier_sqs_target | resource | The data_copier's subscription to data provider's SNS topic |
aws_sns_topic_subscription.error_alert_target | resource | The data_copier_error_alarm's subscription to the error_alert_sns_topic |
aws_sqs_queue.data_copier_sqs | resource | Queue system that subscribes to the data provider's SNS topic and keeps the messages in order |
aws_sqs_queue.data_transformer_sqs | resource | Queue system to which data_copier Lambda publishes a message at the end of the process |
null_resource.pip_install | resource | |
archive_file.lambda_package | data source | Package build directory |
aws_iam_policy_document.sqs_policy_doc | data source | SQS policy |
aws_region.current | data source | Current AWS region |
Name | Description | Type | Default | Required |
---|---|---|---|---|
data_bucket_name | (Required) Destination bucket in which the data will be copied to | string |
n/a | yes |
data_source_access_point_alias | (Required) Data Source's S3 Access Point ARN | string |
n/a | yes |
data_source_aws_region | (Required) AWS region in which data source's bucket is in | string |
n/a | yes |
email_alert_recipient | Email address that will recieve an error alert | string |
n/a | yes |
iam_role_arn | (Required) ARN of the AWS Data Delivery Role | string |
n/a | yes |
name_prefix | Prefix for named resources | string |
"" |
no |
Name | Description |
---|---|
data_copier_sqs_arn | ARN of SQS that will trigger data_copier |
data_dest_bucket_id | S3 bucket ID where data is stored |
data_transformer_sqs_arn | ARN of SQS that will trigger data_transformer |
error_alert_sns_topic_arn | SNS topic ARN for alerting an error in lambdas |