Skip to content

Latest commit

 

History

History
86 lines (84 loc) · 20.1 KB

File metadata and controls

86 lines (84 loc) · 20.1 KB

Inputs

Name Description Type Default Required
spel_identifier Namespace that prefixes the name of the built images string n/a yes
spel_version Version appended to the name of the built images string n/a yes
amigen8_bootdev_mult Factor by which to increase /boot's size on "special" distros (like OL8) string "1.2" no
amigen8_bootdev_size Size, in MiB, to make the /boot partition (this will be multiplied by the 'amigen8_bootdev_mult' value for Oracle Linux images) string "1024" no
amigen8_extra_rpms List of package specs (rpm names or URLs to .rpm files) to install to the EL8 builders and images list(string)
[
"python39",
"python39-pip",
"python39-setuptools",
"crypto-policies-scripts",
"spel-release",
"spel-dod-certs",
"spel-wcf-certs",
"amazon-ec2-net-utils",
"ec2-hibinit-agent",
"ec2-instance-connect",
"ec2-instance-connect-selinux",
"ec2-utils",
"https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm"
]
no
amigen8_filesystem_label Label for the root filesystem when creating bare partitions for EL8 images string "" no
amigen8_package_groups List of yum repo groups to install into EL8 images list(string)
[
"core"
]
no
amigen8_package_manifest File containing a list of RPMs to use as the build manifest for EL8 images string "" no
amigen8_repo_names List of yum repo names to enable in the EL8 builders and EL8 images list(string)
[
"spel"
]
no
amigen8_repo_sources List of yum package refs (names or urls to .rpm files) that install yum repo definitions in EL8 builders and images list(string)
[
"https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm",
"https://spel-packages.cloudarmor.io/spel-packages/repo/spel-release-latest-8.noarch.rpm"
]
no
amigen8_source_branch Branch that will be checked out when cloning AMIgen8 string "master" no
amigen8_source_url URL that will be used to clone AMIgen8 string "https://github.com/plus3it/AMIgen8.git" no
amigen8_storage_layout List of colon-separated tuples (mount:name:size) that describe the desired partitions for LVM-partitioned disks on EL8 images list(string)
[
"/:rootVol:6",
"swap:swapVol:2",
"/home:homeVol:1",
"/var:varVol:2",
"/var/tmp:varTmpVol:2",
"/var/log:logVol:2",
"/var/log/audit:auditVol:100%FREE"
]
no
amigen9_boot_dev_label Filesystem-label to apply to the '/boot' partition string "boot_disk" no
amigen9_boot_dev_size Size of the partition hosting the '/boot' partition number 768 no
amigen9_boot_dev_size_mult Factor by which to increase /boot's size on "special" distros (like OL9) number "1.1" no
amigen9_extra_rpms List of package specs (rpm names or URLs to .rpm files) to install to the EL9 builders and images list(string)
[
"crypto-policies-scripts",
"spel-release",
"spel-dod-certs",
"spel-wcf-certs",
"amazon-ec2-net-utils",
"ec2-hibinit-agent",
"ec2-utils",
"https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm"
]
no
amigen9_filesystem_label Label for the root filesystem when creating bare partitions for EL9 images string "" no
amigen9_package_groups List of yum repo groups to install into EL9 images list(string)
[
"core"
]
no
amigen9_package_manifest File containing a list of RPMs to use as the build manifest for EL9 images string "" no
amigen9_repo_names List of yum repo names to enable in the EL9 builders and EL9 images list(string)
[
"epel",
"spel"
]
no
amigen9_repo_sources List of yum package refs (names or urls to .rpm files) that install yum repo definitions in EL9 builders and images list(string)
[
"https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm",
"https://spel-packages.cloudarmor.io/spel-packages/repo/spel-release-latest-9.noarch.rpm"
]
no
amigen9_source_branch Branch that will be checked out when cloning AMIgen9 string "main" no
amigen9_source_url URL that will be used to clone AMIgen9 string "https://github.com/plus3it/AMIgen9.git" no
amigen9_storage_layout List of colon-separated tuples (mount:name:size) that describe the desired partitions for LVM-partitioned disks on EL9 images list(string)
[
"/:rootVol:6",
"swap:swapVol:2",
"/home:homeVol:1",
"/var:varVol:2",
"/var/tmp:varTmpVol:2",
"/var/log:logVol:2",
"/var/log/audit:auditVol:100%FREE"
]
no
amigen9_uefi_dev_label Filesystem-label to apply to the '/boot/efi' partition string "UEFI_DISK" no
amigen9_uefi_dev_size Size of the partition hosting the '/boot/efi' partition number 128 no
amigen_amiutils_source_url URL of the AMI Utils repo to be cloned using git, containing AWS utility rpms that will be installed to the AMIs string "" no
amigen_aws_cfnbootstrap URL of the tar.gz bundle containing the CFN bootstrap utilities string "https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz" no
amigen_aws_cliv1_source URL of the .zip bundle containing the installer for AWS CLI v1 string "" no
amigen_aws_cliv2_source URL of the .zip bundle containing the installer for AWS CLI v2 string "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" no
amigen_fips_disable Toggles whether FIPS will be disabled in the images bool false no
amigen_grub_timeout Timeout value to set in the grub config of each image number 1 no
amigen_use_default_repos Modifies the behavior of amigen_repo_names. When true, amigen_repo_names are appended to the enabled repos. When false, amigen_repo_names are used exclusively bool true no
aws_ami_groups List of groups that have access to launch the resulting AMIs. Keyword all will make the AMIs publicly accessible list(string) [] no
aws_ami_regions List of regions to copy the AMIs to. Tags and attributes are copied along with the AMIs list(string) [] no
aws_ami_users List of account IDs that have access to launch the resulting AMIs list(string) [] no
aws_force_deregister Force deregister an existing AMI if one with the same name already exists bool false no
aws_instance_type EC2 instance type to use while building the AMIs string "t3.2xlarge" no
aws_region Name of the AWS region in which to launch the EC2 instance to create the AMIs string "us-east-1" no
aws_source_ami_filter_centos9stream_hvm Object with source AMI filters for CentOS Stream 9 HVM builds
object({
name = string
owners = list(string)
})
{
"name": "CentOS Stream 9 x86_64 ,spel-bootstrap-centos-9stream-.x86_64-gp*",
"owners": [
"125523088429",
"174003430611",
"216406534498"
]
}
no
aws_source_ami_filter_ol8_hvm Object with source AMI filters for Oracle Linux 8 HVM builds
object({
name = string
owners = list(string)
})
{
"name": "OL8.-x86_64-HVM-,spel-bootstrap-oraclelinux-8-hvm-.x86_64-gp,spel-bootstrap-ol-8-.x86_64-gp",
"owners": [
"131827586825",
"174003430611",
"216406534498"
]
}
no
aws_source_ami_filter_ol9_hvm Object with source AMI filters for Oracle Linux 9 HVM builds
object({
name = string
owners = list(string)
})
{
"name": "OL9.-x86_64-HVM-,spel-bootstrap-oraclelinux-9-hvm-.x86_64-gp,spel-bootstrap-ol-9-.x86_64-gp",
"owners": [
"131827586825",
"174003430611",
"216406534498"
]
}
no
aws_source_ami_filter_rhel8_hvm Object with source AMI filters for RHEL 8 HVM builds
object({
name = string
owners = list(string)
})
{
"name": "RHEL-8._HVM--x86_64--Hourly-GP*,spel-bootstrap-rhel-8-.x86_64-gp",
"owners": [
"309956199498",
"219670896067",
"174003430611",
"216406534498"
]
}
no
aws_source_ami_filter_rhel9_hvm Object with source AMI filters for RHEL 9 HVM builds
object({
name = string
owners = list(string)
})
{
"name": "RHEL-9._HVM--x86_64--Hourly-GP*,spel-bootstrap-rhel-9-.x86_64-gp",
"owners": [
"309956199498",
"219670896067",
"174003430611",
"216406534498"
]
}
no
aws_ssh_interface Specifies method used to select the value for the host in the SSH connection string "public_dns" no
aws_subnet_id ID of the subnet where Packer will launch the EC2 instance. Required if using an non-default VPC string null no
aws_temporary_security_group_source_cidrs List of IPv4 CIDR blocks to be authorized access to the instance list(string)
[
"0.0.0.0/0"
]
no
azure_build_resource_group_name Existing resource group in which the build will run string null no
azure_client_id Application ID of the AAD Service Principal. Requires either client_secret, client_cert_path or client_jwt to be set as well string null no
azure_client_secret Password/secret registered for the AAD Service Principal string null no
azure_cloud_environment_name One of Public, China, Germany, or USGovernment. Defaults to Public. Long forms such as USGovernmentCloud and AzureUSGovernmentCloud are also supported string "Public" no
azure_custom_managed_image_name_rhel8 Name of a custom managed image to use as the base image for RHEL8 builds string null no
azure_custom_managed_image_resource_group_name_rhel8 Name of the resource group for the custom image in azure_custom_managed_image_name_rhel8 string null no
azure_image_offer Name of the publisher offer to use for your base image (Azure Marketplace Images only) string null no
azure_image_publisher Name of the publisher to use for your base image (Azure Marketplace Images only) string null no
azure_image_sku SKU of the image offer to use for your base image (Azure Marketplace Images only) string null no
azure_keep_os_disk Boolean toggle whether to keep the managed disk or delete it after packer runs bool false no
azure_location Azure datacenter in which your VM will build string null no
azure_managed_image_resource_group_name Resource group name where the result of the Packer build will be saved. The resource group must already exist string null no
azure_private_virtual_network_with_public_ip Boolean toggle whether a public IP will be assigned when using azure_virtual_network_name bool null no
azure_subscription_id n/a string null no
azure_virtual_network_name Name of a pre-existing virtual network in which to run the build string null no
azure_virtual_network_resource_group_name Name of the virtual network resource group in which to run the build string null no
azure_virtual_network_subnet_name Name of the subnet in which to run the build string null no
azure_vm_size n/a string "Standard_DS5_v2" no
openstack_flavor ID, name, or full URL for the desired flavor for the server to be created string null no
openstack_floating_ip_network_name ID or name of an external network that can be used for creation of a new floating IP string null no
openstack_insecure Boolean whether the connection to OpenStack can be done over an insecure connection bool false no
openstack_networks List of networks by UUID to attach to this instance list(string) [] no
openstack_security_groups List of security groups by name to add to this instance list(string) [] no
openstack_source_image_name Name of the base image to use string null no
spel_deprecation_lifetime Duration after which image will be marked deprecated. If null, image will not be marked deprecated. The accepted units are: ns, us (or µs), ms, s, m, and h. For example, one day is 24h, and one year is 8760h. string null no
spel_description_url URL included in the AMI description string "https://github.com/plus3it/spel" no
spel_http_proxy Used as the value for the git config http.proxy setting in the builder nodes string "" no
spel_root_volume_size Size in GB of the root volume number 20 no
spel_ssh_username Name of the user for the ssh connection to the instance. Defaults to spel, which is set by cloud-config userdata. If your starting image does not have cloud-init installed, override the default user name string "spel" no
virtualbox_iso_url_centos9stream URL to the CentOS Stream 9 .iso to use for Virtualbox builds string "http://mirror.facebook.net/centos-stream/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso" no
virtualbox_vagrantcloud_username Vagrant Cloud username, used to namespace the vagrant boxes string null no