Skip to content

Commit

Permalink
updated aws_eks_ami.pkr.hcl
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Feb 2, 2025
1 parent c721f2a commit 5af827d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws_eks_ami.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ locals {
#timestamp = regex_replace(timestamp(), "[- TZ:]", "")
#timestamp = regex_replace(timestamp(), "[ ]", "")
#ami_target_name = "amazon-eks-node-${var.eks_version}-al2-${local.timestamp}"
ami_target_name = "amazon-eks-node-${var.eks_version}-custom-{{timestamp}}"
#ami_target_name = "amazon-eks-node-${var.eks_version}-custom-{{timestamp}}"
ami_target_name = "amazon-eks-node-${var.eks_version}-custom-${timestamp()}"}"
ami_description = "EKS Kubernetes ${var.eks_version} Worker AMI (AmazonLinux2)"
# locals can access data sources but data sources cannot access locals, to prevent circular dependencies
Expand Down

0 comments on commit 5af827d

Please sign in to comment.