| Name | Version |
|---|---|
| terraform | >= 0.15.0, < 2.0.0 |
| aws | ~> 3.9.0 |
| Name | Version |
|---|---|
| aws | 3.9.0 |
No modules.
| Name | Type |
|---|---|
| aws_cloudwatch_event_rule.commit | resource |
| aws_cloudwatch_event_target.deploy | resource |
| aws_cloudwatch_log_group.lambda | resource |
| aws_cloudwatch_log_subscription_filter.error_parser_logfilter | resource |
| aws_cloudwatch_metric_alarm.lambda_error | resource |
| aws_lambda_function.error_parser | resource |
| aws_lambda_function.lambda_commit | resource |
| aws_lambda_permission.allow_cloudwatch_for_error_parser | resource |
| aws_lambda_permission.with_sns | resource |
| aws_sns_topic.commit | resource |
| aws_sns_topic.lambda_error | resource |
| aws_sns_topic_policy.container_status_policy | resource |
| aws_sns_topic_policy.lambda_error_policy | resource |
| aws_sns_topic_subscription.send_container_status | resource |
| aws_caller_identity.current | data source |
| aws_iam_policy_document.sns_lambda_error_access_policy | data source |
| aws_iam_policy_document.sns_topic_access_policy | data source |
| aws_region.current | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cluster_dev | environment variable needed to Lambda for deploying in dev cluster | string |
n/a | yes |
| cluster_prod | environment variable needed to Lambda for deploying in prod cluster | string |
n/a | yes |
| deploy_environment | is environment test or prod | string |
n/a | yes |
| prefix | some to differentiate, usually project 'fdh' or 'dpl' | string |
n/a | yes |
| retention_in_days | how many days wait before deleting logs | number |
30 |
no |
| role_arn | assumed to create infrastructure in enviroment where .hcl is ran | string |
n/a | yes |
| role_arn_lambda_name | role used by lambda | string |
n/a | yes |
| tag | tag to be added | map(any) |
{} |
no |
| test_role_arn | role needed from lambda to assume in order to access to test environment from production | string |
n/a | yes |
| Name | Description |
|---|---|
| role_arn | default role |
| role_arn_lambda | default role |