Skip to content

Commit

Permalink
fix: sqs module version
Browse files Browse the repository at this point in the history
  • Loading branch information
Wi11Shell committed Oct 15, 2024
1 parent 00edcc1 commit 5eddb63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions infra/terraform/modules/service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
| <a name="module_records"></a> [records](#module\_records) | terraform-aws-modules/route53/aws//modules/records | ~> 4.0 |
| <a name="module_route53_records"></a> [route53\_records](#module\_route53\_records) | terraform-aws-modules/acm/aws | ~> 5.0 |
| <a name="module_sns_batch_failure"></a> [sns\_batch\_failure](#module\_sns\_batch\_failure) | terraform-aws-modules/sns/aws | ~> 6.1 |
| <a name="module_sqs_deadletter"></a> [sqs\_deadletter](#module\_sqs\_deadletter) | terraform-aws-modules/sqs/aws | n/a |
| <a name="module_sqs_deadletter"></a> [sqs\_deadletter](#module\_sqs\_deadletter) | terraform-aws-modules/sqs/aws | ~> 4.2.1 |

## Resources

Expand All @@ -48,12 +48,12 @@
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_assets_version"></a> [assets\_version](#input\_assets\_version) | The version of the assets | `string` | n/a | yes |
| <a name="input_batch"></a> [batch](#input\_batch) | Configuration for the batch process | <pre>object({<br> version = string<br> repository = string<br> subnet_ids = list(string)<br> task_iam_role_statements = list(object({<br> effect = string<br> actions = list(string)<br> resources = list(string)<br> }))<br> jobs = list(object({<br> name = string<br> commands = list(string)<br> cpu = optional(number, 1)<br> memory = optional(number, 2048)<br> timeout = optional(number, 300)<br> schedule = optional(string, "")<br> }))<br> })</pre> | n/a | yes |
| <a name="input_batch"></a> [batch](#input\_batch) | Configuration for the batch process | <pre>object({<br/> version = string<br/> repository = string<br/> subnet_ids = list(string)<br/> task_iam_role_statements = list(object({<br/> effect = string<br/> actions = list(string)<br/> resources = list(string)<br/> }))<br/> jobs = list(object({<br/> name = string<br/> commands = list(string)<br/> cpu = optional(number, 1)<br/> memory = optional(number, 2048)<br/> timeout = optional(number, 300)<br/> schedule = optional(string, "")<br/> }))<br/> })</pre> | n/a | yes |
| <a name="input_domain_name"></a> [domain\_name](#input\_domain\_name) | The domain name for the environment | `string` | n/a | yes |
| <a name="input_elasticache_url"></a> [elasticache\_url](#input\_elasticache\_url) | The URL of the Elasticache cluster | `string` | n/a | yes |
| <a name="input_environment"></a> [environment](#input\_environment) | The environment to deploy to | `string` | n/a | yes |
| <a name="input_legacy_environment"></a> [legacy\_environment](#input\_legacy\_environment) | The legacy environment to deploy use | `string` | n/a | yes |
| <a name="input_services"></a> [services](#input\_services) | The services to deploy | <pre>map(object({<br> version = string<br> repository = string<br> cpu = number<br> memory = number<br> task_iam_role_statements = list(object({<br> effect = string<br> actions = list(string)<br> resources = list(string)<br> }))<br> add_cdn_url_to_env = optional(bool, false)<br> lb_listener_arn = string<br> // The reason for this was to enable the parallel running of ECS and EC2 services.<br> // This boolean will control the flow of traffic. If `true`, traffic will go to ECS. If `false`, traffic will go to EC2.<br> // Can be removed when EC2 services are removed.<br> listener_rule_enable = optional(bool, true)<br> listener_rule_priority = optional(number, 10)<br> listener_rule_host_header = optional(string, "*")<br> security_group_ids = list(string)<br> subnet_ids = list(string)<br> vpc_id = optional(string, null)<br> }))</pre> | `{}` | no |
| <a name="input_services"></a> [services](#input\_services) | The services to deploy | <pre>map(object({<br/> version = string<br/> repository = string<br/> cpu = number<br/> memory = number<br/> task_iam_role_statements = list(object({<br/> effect = string<br/> actions = list(string)<br/> resources = list(string)<br/> }))<br/> add_cdn_url_to_env = optional(bool, false)<br/> lb_listener_arn = string<br/> // The reason for this was to enable the parallel running of ECS and EC2 services.<br/> // This boolean will control the flow of traffic. If `true`, traffic will go to ECS. If `false`, traffic will go to EC2.<br/> // Can be removed when EC2 services are removed.<br/> listener_rule_enable = optional(bool, true)<br/> listener_rule_priority = optional(number, 10)<br/> listener_rule_host_header = optional(string, "*")<br/> security_group_ids = list(string)<br/> subnet_ids = list(string)<br/> vpc_id = optional(string, null)<br/> }))</pre> | `{}` | no |
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | The VPC ID | `string` | n/a | yes |

## Outputs
Expand Down
3 changes: 2 additions & 1 deletion infra/terraform/modules/service/batch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ module "sns_batch_failure" {
}

module "sqs_deadletter" {
source = "terraform-aws-modules/sqs/aws"
version = "~> 4.2.1"
source = "terraform-aws-modules/sqs/aws"

name = "vol-app-${var.environment}-batch-failure-dlq"

Expand Down

0 comments on commit 5eddb63

Please sign in to comment.