Skip to content

Commit 7685068

Browse files
committed
Expose the "architecture" variable
1 parent 46c7571 commit 7685068

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ module "tailscale_subnet_router" {
5555
session_logging_ssm_document_name = var.session_logging_ssm_document_name
5656

5757
ami = var.ami
58+
architecture = var.architecture
5859
instance_type = var.instance_type
5960
max_size = var.max_size
6061
min_size = var.min_size

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ variable "ami" {
9696
EOF
9797
}
9898

99+
variable "architecture" {
100+
default = "arm64"
101+
type = string
102+
description = "The architecture of the AMI (e.g., x86_64, arm64)"
103+
}
104+
99105
variable "instance_type" {
100106
default = "t4g.nano"
101107
type = string

0 commit comments

Comments
 (0)