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
Copy file name to clipboardExpand all lines: modules/runners/variables.tf
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -671,6 +671,22 @@ variable "cpu_options" {
671
671
default=null
672
672
}
673
673
674
+
variable"placement" {
675
+
description="The placement options for the instance. See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#placement for details."
676
+
type=object({
677
+
affinity =optional(string)
678
+
availability_zone =optional(string)
679
+
group_id =optional(string)
680
+
group_name =optional(string)
681
+
host_id =optional(string)
682
+
host_resource_group_arn =optional(number)
683
+
spread_domain =optional(string)
684
+
tenancy =optional(string)
685
+
partition_number =optional(number)
686
+
})
687
+
default=null
688
+
}
689
+
674
690
variable"enable_jit_config" {
675
691
description="Overwrite the default behavior for JIT configuration. By default JIT configuration is enabled for ephemeral runners and disabled for non-ephemeral runners. In case of GHES check first if the JIT config API is available. In case you are upgrading from 3.x to 4.x you can set `enable_jit_config` to `false` to avoid a breaking change when having your own AMI."
description="The placement options for the instance. See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#placement for details."
893
+
type=object({
894
+
affinity =optional(string)
895
+
availability_zone =optional(string)
896
+
group_id =optional(string)
897
+
group_name =optional(string)
898
+
host_id =optional(string)
899
+
host_resource_group_arn =optional(number)
900
+
spread_domain =optional(string)
901
+
tenancy =optional(string)
902
+
partition_number =optional(number)
903
+
})
904
+
default=null
905
+
}
906
+
891
907
variable"enable_jit_config" {
892
908
description="Overwrite the default behavior for JIT configuration. By default JIT configuration is enabled for ephemeral runners and disabled for non-ephemeral runners. In case of GHES check first if the JIT config API is available. In case you are upgrading from 3.x to 4.x you can set `enable_jit_config` to `false` to avoid a breaking change when having your own AMI."
0 commit comments