Skip to content

Commit 08411f4

Browse files
committed
support scaling strategy and utilization performance index
1 parent 72fda96 commit 08411f4

File tree

20 files changed

+44
-27
lines changed

20 files changed

+44
-27
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,13 +332,13 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module
332332
| Name | Version |
333333
|------|---------|
334334
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
335-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.19 |
335+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.22 |
336336

337337
## Providers
338338

339339
| Name | Version |
340340
|------|---------|
341-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.19 |
341+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.22 |
342342

343343
## Modules
344344

@@ -435,6 +435,7 @@ No modules.
435435
| <a name="input_release_label"></a> [release\_label](#input\_release\_label) | Release label for the Amazon EMR release | `string` | `null` | no |
436436
| <a name="input_release_label_filters"></a> [release\_label\_filters](#input\_release\_label\_filters) | Map of release label filters use to lookup a release label | <pre>map(object({<br/> application = optional(string)<br/> prefix = optional(string)<br/> }))</pre> | <pre>{<br/> "default": {<br/> "prefix": "emr-7"<br/> }<br/>}</pre> | no |
437437
| <a name="input_scale_down_behavior"></a> [scale\_down\_behavior](#input\_scale\_down\_behavior) | Way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized | `string` | `"TERMINATE_AT_TASK_COMPLETION"` | no |
438+
| <a name="input_scaling_strategy"></a> [scaling\_strategy](#input\_scaling\_strategy) | Specifies the scaling strategy. When set to ADVANCED, the utilization\_performance\_index argument can be used to configure an advanced scaling strategy. An advanced scaling strategy requires Amazon EMR on EC2 version 7.0 or later. Valid values: ADVANCED, DEFAULT | `string` | `null` | no |
438439
| <a name="input_security_configuration"></a> [security\_configuration](#input\_security\_configuration) | Security configuration to create, or attach if `create_security_configuration` is `false`. Only valid for EMR clusters with `release_label` 4.8.0 or greater | `string` | `null` | no |
439440
| <a name="input_security_configuration_name"></a> [security\_configuration\_name](#input\_security\_configuration\_name) | Name of the security configuration to create, or attach if `create_security_configuration` is `false`. Only valid for EMR clusters with `release_label` 4.8.0 or greater | `string` | `null` | no |
440441
| <a name="input_security_configuration_use_name_prefix"></a> [security\_configuration\_use\_name\_prefix](#input\_security\_configuration\_use\_name\_prefix) | Determines whether `security_configuration_name` is used as a prefix | `bool` | `true` | no |
@@ -457,6 +458,7 @@ No modules.
457458
| <a name="input_task_instance_group"></a> [task\_instance\_group](#input\_task\_instance\_group) | Configuration block to use an [Instance Group](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-instance-group-configuration.html#emr-plan-instance-groups) for the [task node type](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-master-core-task-nodes.html#emr-plan-master) | <pre>object({<br/> autoscaling_policy = optional(string)<br/> bid_price = optional(string)<br/> configurations_json = optional(string)<br/> ebs_config = optional(list(object({<br/> iops = optional(number)<br/> size = optional(number, 256)<br/> type = optional(string, "gp3")<br/> volumes_per_instance = optional(number)<br/> })))<br/> ebs_optimized = optional(bool, true)<br/> instance_count = optional(number)<br/> instance_type = string<br/> name = optional(string)<br/> })</pre> | `null` | no |
458459
| <a name="input_termination_protection"></a> [termination\_protection](#input\_termination\_protection) | Switch on/off termination protection (default is `false`, except when using multiple master nodes). Before attempting to destroy the resource when termination protection is enabled, this configuration must be applied with its value set to `false` | `bool` | `null` | no |
459460
| <a name="input_unhealthy_node_replacement"></a> [unhealthy\_node\_replacement](#input\_unhealthy\_node\_replacement) | Whether whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster. Default value is `true` | `bool` | `true` | no |
461+
| <a name="input_utilization_performance_index"></a> [utilization\_performance\_index](#input\_utilization\_performance\_index) | Integer value that represents the advanced scaling strategy. Higher values optimize for performance, while lower values optimize for resource conservation. A value of 50 provides a balance between performance and resource conservation. Required when scaling\_strategy is set to ADVANCED. Valid values: 1, 25, 50, 75, 100 | `number` | `null` | no |
460462
| <a name="input_visible_to_all_users"></a> [visible\_to\_all\_users](#input\_visible\_to\_all\_users) | Whether the job flow is visible to all IAM users of the AWS account associated with the job flow. Default value is `true` | `bool` | `null` | no |
461463
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | The ID of the Amazon Virtual Private Cloud (Amazon VPC) where the security groups will be created | `string` | `""` | no |
462464

examples/private-cluster/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Note that this example may create resources which will incur monetary charges on
2929
| Name | Version |
3030
|------|---------|
3131
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
32-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.19 |
32+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.22 |
3333

3434
## Providers
3535

3636
| Name | Version |
3737
|------|---------|
38-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.19 |
38+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.22 |
3939

4040
## Modules
4141

examples/private-cluster/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 6.19"
7+
version = ">= 6.22"
88
}
99
}
1010
}

examples/public-cluster/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Note that this example may create resources which will incur monetary charges on
2727
| Name | Version |
2828
|------|---------|
2929
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
30-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.19 |
30+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.22 |
3131

3232
## Providers
3333

3434
| Name | Version |
3535
|------|---------|
36-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.19 |
36+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.22 |
3737

3838
## Modules
3939

examples/public-cluster/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 6.19"
7+
version = ">= 6.22"
88
}
99
}
1010
}

examples/serverless-cluster/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Note that this example may create resources which will incur monetary charges on
2727
| Name | Version |
2828
|------|---------|
2929
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
30-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.19 |
30+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.22 |
3131

3232
## Providers
3333

3434
| Name | Version |
3535
|------|---------|
36-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.19 |
36+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.22 |
3737

3838
## Modules
3939

examples/serverless-cluster/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 6.19"
7+
version = ">= 6.22"
88
}
99
}
1010
}

examples/studio/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ terraform apply
2222
| Name | Version |
2323
|------|---------|
2424
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
25-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.19 |
25+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.22 |
2626

2727
## Providers
2828

2929
| Name | Version |
3030
|------|---------|
31-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.19 |
31+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.22 |
3232

3333
## Modules
3434

examples/studio/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 6.19"
7+
version = ">= 6.22"
88
}
99
}
1010
}

examples/virtual-cluster/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ aws emr-containers list-virtual-clusters --region us-west-2 --states ARRESTED \
4141
| Name | Version |
4242
|------|---------|
4343
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
44-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.19 |
44+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.22 |
4545
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | >= 2.38 |
4646
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 3.0 |
4747
| <a name="requirement_time"></a> [time](#requirement\_time) | >= 0.7 |
@@ -50,7 +50,7 @@ aws emr-containers list-virtual-clusters --region us-west-2 --states ARRESTED \
5050

5151
| Name | Version |
5252
|------|---------|
53-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.19 |
53+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.22 |
5454
| <a name="provider_null"></a> [null](#provider\_null) | >= 3.0 |
5555

5656
## Modules

0 commit comments

Comments
 (0)