From 28916f33a5a5626714ce174aa5e1d9d3cbaf8f38 Mon Sep 17 00:00:00 2001 From: Jose Luis Lucas Date: Mon, 1 Apr 2019 15:08:51 +0200 Subject: [PATCH] Feat: Add tags to keep VMs running. --- deploy/aws/modules/agent/main.tf | 1 + deploy/aws/modules/inmemory_storage/main.tf | 1 + deploy/aws/modules/prometheus/main.tf | 1 + deploy/aws/modules/qed/main.tf | 1 + deploy/aws/modules/riot/main.tf | 1 + 5 files changed, 5 insertions(+) diff --git a/deploy/aws/modules/agent/main.tf b/deploy/aws/modules/agent/main.tf index 8b047fe33..36d650de6 100644 --- a/deploy/aws/modules/agent/main.tf +++ b/deploy/aws/modules/agent/main.tf @@ -45,5 +45,6 @@ resource "aws_instance" "qed-agent" { tags { Name = "${format("${var.name}-%01d", count.index)}" Role = "${var.role}" + DAM_OnOff = "NO" } } diff --git a/deploy/aws/modules/inmemory_storage/main.tf b/deploy/aws/modules/inmemory_storage/main.tf index d23dde06e..a83c92c25 100644 --- a/deploy/aws/modules/inmemory_storage/main.tf +++ b/deploy/aws/modules/inmemory_storage/main.tf @@ -45,5 +45,6 @@ resource "aws_instance" "inmemory-storage" { tags { Name = "qed-${var.name}" Role = "${var.role}" + DAM_OnOff = "NO" } } diff --git a/deploy/aws/modules/prometheus/main.tf b/deploy/aws/modules/prometheus/main.tf index 4af364921..286fac3e2 100644 --- a/deploy/aws/modules/prometheus/main.tf +++ b/deploy/aws/modules/prometheus/main.tf @@ -52,5 +52,6 @@ resource "aws_instance" "prometheus" { tags { Name = "qed-prometheus" Role = "${var.role}" + DAM_OnOff = "NO" } } diff --git a/deploy/aws/modules/qed/main.tf b/deploy/aws/modules/qed/main.tf index fd9cf8dc6..b6b80a83c 100644 --- a/deploy/aws/modules/qed/main.tf +++ b/deploy/aws/modules/qed/main.tf @@ -52,5 +52,6 @@ resource "aws_instance" "qed-server" { tags { Name = "${format("${var.name}-%01d", count.index)}" Role = "${var.role}" + DAM_OnOff = "NO" } } diff --git a/deploy/aws/modules/riot/main.tf b/deploy/aws/modules/riot/main.tf index 4b37ee188..1c229f962 100644 --- a/deploy/aws/modules/riot/main.tf +++ b/deploy/aws/modules/riot/main.tf @@ -45,5 +45,6 @@ resource "aws_instance" "riot" { tags { Name = "qed-riot" Role = "${var.role}" + DAM_OnOff = "NO" } }