Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Toggle detailed monitoring #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/nomad-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ resource "aws_launch_configuration" "launch_configuration" {
placement_tenancy = var.tenancy
associate_public_ip_address = var.associate_public_ip_address

ebs_optimized = var.root_volume_ebs_optimized
enable_monitoring = var.enable_detailed_monitoring
ebs_optimized = var.root_volume_ebs_optimized

root_block_device {
volume_type = var.root_volume_type
Expand Down
6 changes: 6 additions & 0 deletions modules/nomad-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,9 @@ variable "iam_permissions_boundary" {
type = string
default = null
}

variable "enable_detailed_monitoring" {
description = "Whether instances should have detailed monitoring enabled - this can incur additional cloudwatch costs"
type = bool
default = true
}