From cbca99118e343014d51fd121f8b89f5b9862f2cb Mon Sep 17 00:00:00 2001 From: OMPRAKASH MISHRA Date: Wed, 18 Dec 2024 16:51:14 -0800 Subject: [PATCH] fix device name --- infrastructure/api/ec2.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/api/ec2.tf b/infrastructure/api/ec2.tf index 65cf0277..01832805 100644 --- a/infrastructure/api/ec2.tf +++ b/infrastructure/api/ec2.tf @@ -33,7 +33,7 @@ resource "aws_instance" "jumphost" { vpc_security_group_ids = [data.aws_security_group.app.id, aws_security_group.jumphost.id] ebs_optimized = false ebs_block_device { - device_name = "${var.app_env}/dev/xvda" + device_name = "/dev/xvda" encrypted = true volume_size = 8 }