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
+18-1Lines changed: 18 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ variable "subnet_ids" {
36
36
}
37
37
38
38
variable"overrides" {
39
-
description="This map provides the possibility to override some defaults. The following attributes are supported: `name_sg` overrides the `Name` tag for all security groups created by this module. `name_runner_agent_instance` overrides the `Name` tag for the ec2 instance defined in the auto launch configuration. `name_docker_machine_runners` overrides the `Name` tag spot instances created by the runner agent."
39
+
description="This map provides the possibility to override some defaults. The following attributes are supported: `name_sg` overrides the `Name` tag for all security groups created by this module. `name_runner` overrides the `Name` tag for the ec2 instance defined in the auto launch configuration. `instance_profile_name` overrides the instance profile name used in the launch template."
40
40
type=map(string)
41
41
42
42
default={
@@ -45,6 +45,23 @@ variable "overrides" {
45
45
}
46
46
}
47
47
48
+
variable"iam_overrides" {
49
+
description="This map provides the possibility to override some IAM defaults. The following attributes are supported: `instance_profile_name` overrides the instance profile name used in the launch template. `runner_role_arn` overrides the IAM role ARN used for the runner instances."
50
+
type=object({
51
+
override_instance_profile =optional(bool, null)
52
+
instance_profile_name =optional(string, null)
53
+
override_runner_role =optional(bool, null)
54
+
runner_role_arn =optional(string, null)
55
+
})
56
+
57
+
default={
58
+
override_instance_profile =false
59
+
instance_profile_name =null
60
+
override_runner_role =false
61
+
runner_role_arn =null
62
+
}
63
+
}
64
+
48
65
variable"tags" {
49
66
description="Map of tags that will be added to created resources. By default resources will be tagged with name."
description="This map provides the possibility to override some defaults. The following attributes are supported: `name_sg` overrides the `Name` tag for all security groups created by this module. `name_runner` overrides the `Name` tag for the ec2 instance defined in the auto launch configuration. `instance_profile_name` overrides the instance profile name used in the launch template."
description="Amount of reserved concurrent executions for the scale-up lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations."
0 commit comments