File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ resource "aws_launch_template" "enclave_track" {
66
77 name_prefix = " eks-node-enclaves-${ each . key } -${ var . cluster_name } -"
88
9- image_id = data. aws_ssm_parameter . al2023_ami [try (var . eks_node_group . arch , " amd64 " ) ]. value
9+ image_id = data. aws_ssm_parameter . al2023_ami [each . value . arch ]. value
1010 instance_type = coalesce (each. value . instance_type , var. enclaves_instance_type )
1111 vpc_security_group_ids = [aws_security_group . node . id ]
1212 ebs_optimized = true
Original file line number Diff line number Diff line change @@ -621,6 +621,7 @@ variable "enclave_tracks" {
621621 instance_type = optional (string )
622622 cpu_allocation = optional (string )
623623 memory_allocation = optional (string )
624+ arch = optional (string , " amd64" )
624625 }))
625626 default = {}
626627
You can’t perform that action at this time.
0 commit comments