Skip to content

Commit

Permalink
Added Variables to Set ec2 detailed monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveenraj-K committed Dec 4, 2024
1 parent 0dfe550 commit 72e4135
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/010-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module "asg" {
ami_id = data.aws_ami.ecs_ami.id
additional_user_data = var.asg_additional_user_data
tags = var.tags
enable_ec2_detailed_monitoring = var.enable_ec2_detailed_monitoring
}

/*
Expand Down
6 changes: 6 additions & 0 deletions terraform/010-cluster/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,9 @@ variable "log_retention_in_days" {
type = number
default = 30
}

variable "enable_ec2_detailed_monitoring" {
description = "Whether to enable detailed monitoring for EC2 instances"
type = bool
default = false
}

0 comments on commit 72e4135

Please sign in to comment.