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
| <aname="input_capacity_reservation_specification"></a> [capacity\_reservation\_specification](#input\_capacity\_reservation\_specification)| Describes an instance's Capacity Reservation targeting option |`any`|`{}`| no |
200
200
| <aname="input_cpu_core_count"></a> [cpu\_core\_count](#input\_cpu\_core\_count)| Sets the number of CPU cores for an instance |`number`|`null`| no |
201
201
| <aname="input_cpu_credits"></a> [cpu\_credits](#input\_cpu\_credits)| The credit option for CPU usage (unlimited or standard) |`string`|`null`| no |
202
+
| <aname="input_cpu_options"></a> [cpu\_options](#input\_cpu\_options)| Defines CPU options to apply to the instance at launch time. |`any`|`{}`| no |
202
203
| <aname="input_cpu_threads_per_core"></a> [cpu\_threads\_per\_core](#input\_cpu\_threads\_per\_core)| Sets the number of CPU threads per core for an instance (has no effect unless cpu\_core\_count is also set) |`number`|`null`| no |
203
204
| <aname="input_create"></a> [create](#input\_create)| Whether to create an instance |`bool`|`true`| no |
204
205
| <aname="input_create_iam_instance_profile"></a> [create\_iam\_instance\_profile](#input\_create\_iam\_instance\_profile)| Determines whether an IAM instance profile is created or to use an existing IAM instance profile |`bool`|`false`| no |
Copy file name to clipboardExpand all lines: variables.tf
+6
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,12 @@ variable "timeouts" {
260
260
default={}
261
261
}
262
262
263
+
variable"cpu_options" {
264
+
description="Defines CPU options to apply to the instance at launch time."
265
+
type=any
266
+
default={}
267
+
}
268
+
263
269
variable"cpu_core_count" {
264
270
description="Sets the number of CPU cores for an instance"# This option is only supported on creation of instance type that support CPU Options https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#cpu-options-supported-instances-values
0 commit comments