lets say we have noamd-clients-ami.pkr.hcl, that contains
...
variable "ami_regions" {
type = list(string)
description = "A list of regions to copy the AMI to"
default = ["us-east-1", "eu-central-1", "ap-southeast-1"]
}
variable "ami_tags" {
type = map(string)
description = "Tags pass to Packer Builded's AMI"
}
...
...
source "amazon-ebs" "nomad_ami" {
...
tags = var.ami_tags
}
We have :
lets say we have
noamd-clients-ami.pkr.hcl
, that containsthen we have
main.tf
that contains :question :
variables
?