-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathami_arm64.pkr.hcl
44 lines (44 loc) · 1.51 KB
/
ami_arm64.pkr.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# There is no ARM-based official Kali AMI in the AWS AMI Catalog.
# source "amazon-ebs" "arm64" {
# ami_name = "kali-hvm-${local.timestamp}-arm64-ebs"
# ami_regions = var.ami_regions
# associate_public_ip_address = true
# encrypt_boot = true
# instance_type = "t4g.small"
# kms_key_id = var.build_region_kms
# launch_block_device_mappings {
# delete_on_termination = true
# device_name = "/dev/xvda"
# encrypted = true
# volume_size = 30
# volume_type = "gp3"
# }
# region = var.build_region
# region_kms_key_ids = var.region_kms_keys
# skip_create_ami = var.skip_create_ami
# source_ami = data.amazon-ami.kali_arm64.id
# ssh_username = "kali"
# subnet_filter {
# filters = {
# "tag:Name" = "AMI Build"
# }
# }
# tags = {
# Application = "Kali"
# Architecture = "arm64"
# Base_AMI_Name = data.amazon-ami.kali_arm64.name
# GitHub_Release_URL = var.release_url
# OS_Version = "Kali Linux"
# Pre_Release = var.is_prerelease
# Release = var.release_tag
# Team = "VM Fusion - Development"
# }
# # Many Linux distributions are now disallowing the use of RSA keys,
# # so it makes sense to use an ED25519 key instead.
# temporary_key_pair_type = "ed25519"
# vpc_filter {
# filters = {
# "tag:Name" = "AMI Build"
# }
# }
# }