Skip to content

Commit

Permalink
fix: update morpheus module config to use proper device mappings for …
Browse files Browse the repository at this point in the history
…NVMe EBS volumes
  • Loading branch information
arnol377 committed Feb 11, 2025
1 parent 960af7e commit fb870ac
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions morpheus.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,34 +46,35 @@ module "morpheus" {
assets_bucket_name = aws_s3_bucket.assets_bucket.bucket
image_volume_mapping = [
{
device_name = "/dev/xvda"
device_name = "/dev/sda1" # Root device
volume_size = 200
volume_type = "gp3"
delete_on_termination = true
encrypted = true
mount_path = "/" # Root mount point
},
{
device_name = "/dev/xvdf"
device_name = "/dev/sdf" # Will show up as /dev/nvme1n1
volume_size = 10
volume_type = "gp3"
delete_on_termination = true
mount_path = "/APPS"
mount_path = "/apps"
encrypted = true
},
{
device_name = "/dev/xvdh"
device_name = "/dev/sdh" # Will show up as /dev/nvme2n1
volume_size = 50
volume_type = "gp3"
delete_on_termination = true
mount_path = "/optmor"
mount_path = "/opt/morpheus"
encrypted = true
},
{
device_name = "/dev/xvdi"
device_name = "/dev/sdi" # Will show up as /dev/nvme3n1
volume_size = 150
volume_type = "gp3"
delete_on_termination = true
mount_path = "/varoptmor"
mount_path = "/var/opt/morpheus"
encrypted = true
}
]
Expand Down

0 comments on commit fb870ac

Please sign in to comment.