Increase AMI builder capacity
This commit is contained in:
+26
-2
@@ -38,8 +38,8 @@ variable "flake_lock_rev" {
|
||||
|
||||
variable "builder_instance_type" {
|
||||
type = string
|
||||
default = "t4g.large"
|
||||
description = "Temporary EC2 instance type used to build and seed the AMI."
|
||||
default = null
|
||||
description = "Temporary EC2 instance type used to build and seed the AMI. Defaults to c7g.2xlarge for aarch64-linux and c7i.2xlarge for x86_64-linux."
|
||||
}
|
||||
|
||||
variable "vpc_id" {
|
||||
@@ -78,12 +78,36 @@ variable "root_volume_size_gb" {
|
||||
description = "Temporary builder root EBS volume size. This becomes the final AMI root snapshot size."
|
||||
}
|
||||
|
||||
variable "root_volume_iops" {
|
||||
type = number
|
||||
default = 6000
|
||||
description = "Temporary builder root gp3 IOPS. This affects builder speed only; snapshots do not preserve provisioned IOPS."
|
||||
}
|
||||
|
||||
variable "root_volume_throughput" {
|
||||
type = number
|
||||
default = 250
|
||||
description = "Temporary builder root gp3 throughput in MiB/s. This affects builder speed only; snapshots do not preserve provisioned throughput."
|
||||
}
|
||||
|
||||
variable "nix_volume_size_gb" {
|
||||
type = number
|
||||
default = 50
|
||||
description = "Temporary /nix EBS volume size. This becomes the final AMI /nix snapshot size."
|
||||
}
|
||||
|
||||
variable "nix_volume_iops" {
|
||||
type = number
|
||||
default = 12000
|
||||
description = "Temporary /nix gp3 IOPS used while building and seeding the AMI."
|
||||
}
|
||||
|
||||
variable "nix_volume_throughput" {
|
||||
type = number
|
||||
default = 500
|
||||
description = "Temporary /nix gp3 throughput in MiB/s used while building and seeding the AMI."
|
||||
}
|
||||
|
||||
variable "nix_pool" {
|
||||
type = string
|
||||
default = "nixos-zfs-nix"
|
||||
|
||||
Reference in New Issue
Block a user