mirror of
https://github.com/idanoo/fediservices.nz-infra
synced 2025-07-02 06:12:15 +00:00
Initial Commit
This commit is contained in:
parent
8734e2952d
commit
1bb150d44e
7 changed files with 87 additions and 98 deletions
23
data.tf
Normal file
23
data.tf
Normal 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
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue