File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,12 @@ variable "alarm_actions_enabled" {
106106 type = bool
107107}
108108
109+ variable "asg_additional_user_data" {
110+ description = " Bash code to append to the default EC2 user_data."
111+ type = string
112+ default = " "
113+ }
114+
109115variable "asg_min_size" {
110116 description = " The minimum size of the Autoscaling Group"
111117 default = 1
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ module "alb" {
113113 */
114114module "ecsasg" {
115115 source = " silinternational/ecs-asg/aws"
116- version = " ~> 4.0 "
116+ version = " ~> 4.1 "
117117
118118 cluster_name = local. app_name_and_env
119119 subnet_ids = module. vpc . private_subnet_ids
@@ -128,4 +128,5 @@ module "ecsasg" {
128128 tags = var. asg_tags
129129 enable_ipv6 = var. enable_ipv6
130130 enable_ec2_detailed_monitoring = var. enable_ec2_detailed_monitoring
131+ additional_user_data = var. asg_additional_user_data
131132}
You can’t perform that action at this time.
0 commit comments