Create infra

This commit is contained in:
Daniel Mason 2023-04-22 13:17:41 +12:00
parent 1bb150d44e
commit 2d32a3c4bb
Signed by: idanoo
GPG key ID: 387387CDBC02F132
9 changed files with 278 additions and 34 deletions

9
template.tf Normal file
View file

@ -0,0 +1,9 @@
# Userdata
data "template_file" "userdata" {
template = file("${path.module}/templates/userdata.tpl")
vars = {
data_root = "/data"
volume = aws_ebs_volume.ebs.id
}
}