Initial Commit

This commit is contained in:
Daniel Mason 2023-04-22 12:37:30 +12:00
parent 8734e2952d
commit 1bb150d44e
Signed by: idanoo
GPG key ID: 387387CDBC02F132
7 changed files with 87 additions and 98 deletions

23
data.tf Normal file
View file

@ -0,0 +1,23 @@
# Get current AWS Region
data "aws_region" "current" {}
# Get available AZs
data "aws_availability_zones" "available" {}
# Get latest official Ubuntu AMI
data "aws_ami" "ubuntu" {
most_recent = true
filter {
name = "name"
values = ["ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-arm64-server-*"]
}
filter {
name = "virtualization-type"
values = ["hvm"]
}
owners = ["099720109477"] # Canonical
}