Add EBS attachment

This commit is contained in:
Daniel Mason 2023-04-22 13:29:19 +12:00
parent a689038306
commit ab30a47e26
Signed by: idanoo
GPG key ID: 387387CDBC02F132
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,7 @@ data "template_file" "userdata" {
template = file("${path.module}/templates/userdata.tpl")
vars = {
region = data.aws_region.current.name
data_root = "/data"
volume = aws_ebs_volume.ebs.id
}