You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
fix: instance_types from a Set to a List, so instance order preference is preserved (#1154)
* Preserve ordering of chosen instance types
* Switch from for_each to count due to for_each not supporting lists for iterating
* Missed a each.value
* Format launch template list in the order we specify
* typo
* Missed a change from set to list
* Remove unneeded change
| Name | Description | Type | Default | Required |
@@ -380,7 +363,7 @@ No requirements.
380
363
| idle\_config | List of time period that can be defined as cron expression to keep a minimum amount of runners active instead of scaling down to 0. By defining this list you can ensure that in time periods that match the cron expression within 5 seconds a runner is kept idle. | <pre>list(object({<br> cron = string<br> timeZone = string<br> idleCount = number<br> }))</pre> |`[]`| no |
381
364
| instance\_profile\_path | The path that will be added to the instance\_profile, if not set the environment name will be used. |`string`|`null`| no |
382
365
| instance\_type |[DEPRECATED] See instance\_types. |`string`|`"m5.large"`| no |
383
-
| instance\_types | List of instance types for the action runner. |`set(string)`|`null`| no |
366
+
| instance\_types | List of instance types for the action runner. |`list(string)`|`null`| no |
384
367
| key\_name | Key pair name |`string`|`null`| no |
385
368
| kms\_key\_arn | Optional CMK Key ARN to be used for Parameter Store. This key must be in the current account. |`string`|`null`| no |
386
369
| lambda\_s3\_bucket | S3 bucket from which to specify lambda functions. This is an alternative to providing local files directly. |`any`|`null`| no |
@@ -398,6 +381,7 @@ No requirements.
398
381
| runner\_binaries\_syncer\_lambda\_timeout | Time out of the binaries sync lambda in seconds. |`number`|`300`| no |
399
382
| runner\_binaries\_syncer\_lambda\_zip | File location of the binaries sync lambda zip file. |`string`|`null`| no |
400
383
| runner\_boot\_time\_in\_minutes | The minimum time for an EC2 runner to boot and register as a runner. |`number`|`5`| no |
| Name | Description | Type | Default | Required |
@@ -93,6 +68,7 @@ No Modules.
93
68
| block\_device\_mappings | The EC2 instance block device configuration. Takes the following keys: `device_name`, `delete_on_termination`, `volume_type`, `volume_size`, `encrypted`, `iops`|`map(string)`|`{}`| no |
94
69
| cloudwatch\_config | (optional) Replaces the module default cloudwatch log config. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html for details. |`string`|`null`| no |
95
70
| create\_service\_linked\_role\_spot | (optional) create the service linked role for spot instances that is required by the scale-up lambda. |`bool`|`false`| no |
| enable\_cloudwatch\_agent | Enabling the cloudwatch agent on the ec2 runner instances, the runner contains default config. Configuration can be overridden via `cloudwatch_config`. |`bool`|`true`| no |
| enable\_ssm\_on\_runners | Enable to allow access to the runner instances for debugging purposes via SSM. Note that this adds additional permissions to the runner instances. |`bool`| n/a | yes |
@@ -102,7 +78,7 @@ No Modules.
102
78
| idle\_config | List of time period that can be defined as cron expression to keep a minimum amount of runners active instead of scaling down to 0. By defining this list you can ensure that in time periods that match the cron expression within 5 seconds a runner is kept idle. | <pre>list(object({<br> cron = string<br> timeZone = string<br> idleCount = number<br> }))</pre> |`[]`| no |
103
79
| instance\_profile\_path | The path that will be added to the instance\_profile, if not set the environment name will be used. |`string`|`null`| no |
104
80
| instance\_type |[DEPRECATED] See instance\_types. |`string`|`"m5.large"`| no |
105
-
| instance\_types | List of instance types for the action runner. |`set(string)`|`null`| no |
81
+
| instance\_types | List of instance types for the action runner. |`list(string)`|`null`| no |
106
82
| key\_name | Key pair name |`string`|`null`| no |
107
83
| kms\_key\_arn | Optional CMK Key ARN to be used for Parameter Store. |`string`|`null`| no |
108
84
| lambda\_s3\_bucket | S3 bucket from which to specify lambda functions. This is an alternative to providing local files directly. |`any`|`null`| no |
0 commit comments