/templates/packer now contains a copy of image-builder-packer repository as of b8a4b45f93890090de24e3d043e2d958948fc3c5 Changes: - LICENSE file was dropped (it was redundant) - README file was dropped (no longer needed) - GitHub workflows were removed (will be replaced by schutzbot) - RPMs were removed (they were huge, will be installed in a different way) Signed-off-by: Ondřej Budai <ondrej@budai.cz>
40 lines
1.1 KiB
HCL
40 lines
1.1 KiB
HCL
##############################################################################
|
|
## VARIABLES THAT ARE SAFE TO CHANGE 🤔
|
|
|
|
# Git SHA for the composer commit to include in the image.
|
|
variable "composer_commit" {
|
|
type = string
|
|
default = "b075cac9e3d4a283918dbefa66cce46d372e3835"
|
|
}
|
|
|
|
# Git SHA for the osbuild commit to include in the image.
|
|
variable "osbuild_commit" {
|
|
type = string
|
|
default = "f7bf23fabaae6027b1e1147b27870d90d4b1911f"
|
|
}
|
|
|
|
##############################################################################
|
|
## VARIABLES THAT PROBABLY SHOULD NOT BE CHANGED 😬
|
|
|
|
# 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 "imagebuilder_packer_sha" { type = string }
|
|
|
|
# Default name for images (will have timestamp appended by default).
|
|
variable "ami_name" {
|
|
type = string
|
|
default = "imagebuilder-service-image"
|
|
}
|
|
|
|
# Set to True to append a timestamp to the AMI name.
|
|
variable "append_timestamp" {
|
|
type = bool
|
|
default = true
|
|
}
|