Build AMIs on temporary EC2 builders

This commit is contained in:
Timothy J. Aveni
2026-06-20 11:41:57 -07:00
parent e580f7e3b2
commit 149ffd374f
6 changed files with 632 additions and 353 deletions
+13 -9
View File
@@ -1,9 +1,13 @@
output "ami_id" {
value = aws_ami.matched.id
output "builder_instance_id" {
value = aws_instance.builder.id
}
output "architecture" {
value = var.architecture
value = local.aws_architecture
}
output "system" {
value = var.system
}
output "input_hash" {
@@ -18,14 +22,14 @@ output "flake_lock_rev" {
value = var.flake_lock_rev
}
output "root_snapshot_id" {
value = var.root_snapshot_id
output "nix_device_name" {
value = var.nix_device_name
}
output "nix_snapshot_id" {
value = var.nix_snapshot_id
output "nix_volume_id" {
value = aws_ebs_volume.nix.id
}
output "nixos_system_closure" {
value = var.nixos_system_closure
output "nix_pool" {
value = var.nix_pool
}