File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ module "runners" {
123123 userdata_pre_install = var. userdata_pre_install
124124 userdata_post_install = var. userdata_post_install
125125 key_name = var. key_name
126+ runner_ec2_tags = var. runner_ec2_tags
126127
127128 create_service_linked_role_spot = var. create_service_linked_role_spot
128129
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ resource "aws_launch_template" "runner" {
9393 {
9494 " Name" = format (" %s" , local. name_runner )
9595 },
96+ var. runner_ec2_tags
9697 )
9798 }
9899
Original file line number Diff line number Diff line change @@ -368,3 +368,9 @@ variable "egress_rules" {
368368 description = null
369369 }]
370370}
371+
372+ variable "runner_ec2_tags" {
373+ description = " Map of tags that will be added to the launch template instance tag specificatons."
374+ type = map (string )
375+ default = {}
376+ }
Original file line number Diff line number Diff line change @@ -406,3 +406,9 @@ variable "disable_check_wokflow_job_labels" {
406406 type = bool
407407 default = false
408408}
409+
410+ variable "runner_ec2_tags" {
411+ description = " Map of tags that will be added to the launch template instance tag specificatons."
412+ type = map (string )
413+ default = {}
414+ }
You can’t perform that action at this time.
0 commit comments