Skip to content

Commit c2d5ce1

Browse files
committed
feat: Bump versions, add missing arguments and variable type definitions
1 parent 8dc85b9 commit c2d5ce1

File tree

9 files changed

+214
-105
lines changed

9 files changed

+214
-105
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.96.2
3+
rev: v1.99.4
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_docs

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module
163163

164164
| Name | Version |
165165
|------|---------|
166-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
167-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.78 |
166+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.10 |
167+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.0 |
168168

169169
## Providers
170170

171171
| Name | Version |
172172
|------|---------|
173-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.78 |
173+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.0 |
174174

175175
## Modules
176176

@@ -200,7 +200,7 @@ No modules.
200200

201201
| Name | Description | Type | Default | Required |
202202
|------|-------------|------|---------|:--------:|
203-
| <a name="input_compute_environments"></a> [compute\_environments](#input\_compute\_environments) | Map of compute environment definitions to create | `any` | `{}` | no |
203+
| <a name="input_compute_environments"></a> [compute\_environments](#input\_compute\_environments) | Map of compute environment definitions to create | <pre>map(object({<br/> name = optional(string)<br/> name_prefix = optional(string)<br/> compute_resources = optional(object({<br/> allocation_strategy = optional(string)<br/> bid_percentage = optional(number)<br/> desired_vcpus = optional(number)<br/> ec2_configuration = optional(list(object({<br/> image_id_override = optional(string)<br/> image_type = optional(string)<br/> })))<br/> ec2_key_pair = optional(string)<br/> instance_role = optional(string)<br/> instance_types = optional(list(string))<br/> launch_template = optional(object({<br/> launch_template_id = optional(string)<br/> launch_template_name = optional(string)<br/> version = optional(string)<br/> }))<br/> max_vcpus = number<br/> min_vcpus = optional(number)<br/> placement_group = optional(string)<br/> security_group_ids = optional(list(string))<br/> spot_iam_fleet_role = optional(string)<br/> subnets = list(string)<br/> tags = optional(map(string), {})<br/> type = string<br/> }))<br/> eks_configuration = optional(object({<br/> eks_cluster_arn = string<br/> kubernetes_namespace = string<br/> }))<br/> service_role = optional(string)<br/> state = optional(string)<br/> tags = optional(map(string), {})<br/> type = optional(string, "MANAGED")<br/> update_policy = optional(object({<br/> job_execution_timeout_minutes = number<br/> terminate_jobs_on_update = optional(bool, false)<br/> }))<br/> }))</pre> | `null` | no |
204204
| <a name="input_create"></a> [create](#input\_create) | Controls if resources should be created (affects nearly all resources) | `bool` | `true` | no |
205205
| <a name="input_create_instance_iam_role"></a> [create\_instance\_iam\_role](#input\_create\_instance\_iam\_role) | Determines whether a an IAM role is created or to use an existing IAM role | `bool` | `true` | no |
206206
| <a name="input_create_job_definitions"></a> [create\_job\_definitions](#input\_create\_job\_definitions) | Determines whether to create the job definitions defined | `bool` | `true` | no |
@@ -215,7 +215,7 @@ No modules.
215215
| <a name="input_instance_iam_role_tags"></a> [instance\_iam\_role\_tags](#input\_instance\_iam\_role\_tags) | A map of additional tags to add to the IAM role created | `map(string)` | `{}` | no |
216216
| <a name="input_instance_iam_role_use_name_prefix"></a> [instance\_iam\_role\_use\_name\_prefix](#input\_instance\_iam\_role\_use\_name\_prefix) | Determines whether the IAM role name (`instance_iam_role_name`) is used as a prefix | `string` | `true` | no |
217217
| <a name="input_job_definitions"></a> [job\_definitions](#input\_job\_definitions) | Map of job definitions to create | `any` | `{}` | no |
218-
| <a name="input_job_queues"></a> [job\_queues](#input\_job\_queues) | Map of job queue and scheduling policy defintions to create | `any` | `{}` | no |
218+
| <a name="input_job_queues"></a> [job\_queues](#input\_job\_queues) | Map of job queue and scheduling policy defintions to create | <pre>map(object({<br/> compute_environment_order = optional(map(object({<br/> compute_environment_key = string<br/> order = number<br/> })))<br/> job_state_time_limit_action = optional(map(object({<br/> action = optional(string, "CANCEL")<br/> max_time_seconds = number<br/> reason = optional(string)<br/> state = optional(string, "RUNNABLE")<br/> })))<br/> name = optional(string) # Will fall back to use map key as queue name<br/> priority = number<br/> scheduling_policy_arn = optional(string)<br/> state = optional(string, "ENABLED")<br/> tags = optional(map(string), {})<br/> timeouts = optional(object({<br/> create = optional(string, "10m")<br/> update = optional(string, "10m")<br/> delete = optional(string, "10m")<br/> }))<br/> }))</pre> | `null` | no |
219219
| <a name="input_service_iam_role_additional_policies"></a> [service\_iam\_role\_additional\_policies](#input\_service\_iam\_role\_additional\_policies) | Additional policies to be added to the IAM role | `map(string)` | `{}` | no |
220220
| <a name="input_service_iam_role_description"></a> [service\_iam\_role\_description](#input\_service\_iam\_role\_description) | Batch service IAM role description | `string` | `null` | no |
221221
| <a name="input_service_iam_role_name"></a> [service\_iam\_role\_name](#input\_service\_iam\_role\_name) | Batch service IAM role name | `string` | `null` | no |

examples/ec2/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ Note that this example may create resources which will incur monetary charges on
2424

2525
| Name | Version |
2626
|------|---------|
27-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
28-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.78 |
27+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.10 |
28+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.0 |
2929

3030
## Providers
3131

3232
| Name | Version |
3333
|------|---------|
34-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.78 |
34+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.0 |
3535

3636
## Modules
3737

examples/ec2/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
terraform {
2-
required_version = ">= 1.3"
2+
required_version = ">= 1.10"
33

44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.78"
7+
version = ">= 6.0"
88
}
99
}
1010
}

examples/fargate/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ Note that this example may create resources which will incur monetary charges on
2424

2525
| Name | Version |
2626
|------|---------|
27-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
28-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.78 |
27+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.10 |
28+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.0 |
2929

3030
## Providers
3131

3232
| Name | Version |
3333
|------|---------|
34-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.78 |
34+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.0 |
3535

3636
## Modules
3737

examples/fargate/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
terraform {
2-
required_version = ">= 1.3"
2+
required_version = ">= 1.10"
33

44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.78"
7+
version = ">= 6.0"
88
}
99
}
1010
}

0 commit comments

Comments
 (0)