debian-forge-composer/templates/packer/variables.pkr.hcl
Ondřej Budai e45578d3b0 packer: remove the ami_id variable
We want to build multiple images at once so they have to be defined elsewhere.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-03-11 09:06:43 +01:00

28 lines
731 B
HCL

# You need to specify all the following variables (except for region)
# when running `packer build`
# AWS account configuration.
variable "aws_access_key" { type = string }
variable "aws_secret_key" { type = string }
variable "region" {
type = string
default = "us-east-1"
}
# Automatically set by environment variables in GitHub Actions.
variable "composer_commit" { type = string }
variable "osbuild_commit" { type = string }
# The name of the resulting AMI and the underlying EBS snapshot
variable "image_name" { type = string }
# A list of users to share the AMI with
variable "image_users" {
type = list(string)
default = []
}
# Skip ansible tags
variable "ansible_skip_tags" {
type = string
default = ""
}