From 62a6c89ab4ea9e52f2f2f6ac755f8072451b9f17 Mon Sep 17 00:00:00 2001 From: dmtgrinevich Date: Mon, 29 Jul 2024 09:06:49 +0000 Subject: [PATCH] Increased e3s-server volume size to 100gb, encrypted it --- deploy/e3s.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/e3s.tf b/deploy/e3s.tf index c984d8a..712d006 100644 --- a/deploy/e3s.tf +++ b/deploy/e3s.tf @@ -87,6 +87,14 @@ resource "aws_instance" "e3s_server" { Name = local.e3s_server_instance_name } + ebs_block_device { + device_name = "/dev/sda1" + delete_on_termination = true + encrypted = true + volume_type = "gp3" + volume_size = 100 + } + user_data = templatefile("./ec2_data/e3s_user_data.sh", { region = var.region cluster_name = local.e3s_cluster_name