Hashicorp Jobs
- packer
Base job for packer operations
Responds to these variables:
-
packer_command
Default:build
Command to pass to packer.
-
packer_variables
Dictionary with variables to pass to packer.
-
packer_extra_args
Default:""
String containing extra arguments to append to the packer command line.
-
packer_environemnt
Environment variables to set in packer command.
-
packer_template
Default:packer.json
Packer template json file to use.
-
packer_install_dir
Default:{{ ansible_user_dir }}/packer/
Path to install packer in.
-
packer_version
Default:1.5.5
The version of packer to use.
-
packer_os
Default:{{ ansible_system | lower }}
OS to use when choosing packer version.
-
packer_arch
Default:amd64 / 386
Architecture to use when choosing packer version
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
packer_command
- terraform-apply
Extends terraform-base.
-
terraform_command
Default:apply
Command to pass to terraform.
-
terraform_command
- terraform-base
Base job for terraform operations
Responds to these variables:
-
terraform_command
Command to pass to terraform.
-
terraform_workspace
Name of the workspace to operate against. By default this will not be created if it does not exist.
-
terraform_create_workspace
Default:false
Set to true if the workspace should automatically be created if doesn’t already exist.
-
terraform_purge_workspace
Default:false
Set to true if the workspace should be deleted after running ‘terraform destroy’.
-
terraform_comment
Default:true
Set to false to stop zuul from leaving a comment with the execution plan.
-
terraform_overrides
List of override.tf files to create before initializing terraform. This is useful if a module should use the source from a required project that has been checked out by zuul instead of using a remote git repository.
-
terraform_overrides.dir
Directory to put override.tf
-
terraform_overrides.content
Free form content of the override.tf file.
-
terraform_overrides.dir
-
terraform_extra_args
Default:""
String containing extra arguments to append to the terraform command line.
-
terraform_install_dir
Default:{{ ansible_user_dir }}/terraform/
Path to install terraform in.
-
terraform_executable
Default:{{ ansible_user_dir }}/.local/bin/terraform
Path to terraform executable to use.
-
terraform_version
Default:0.12.26
The version of terraform to use.
-
terraform_os
Default:{{ ansible_system | lower }}
OS to use when choosing terraform version.
-
terraform_arch
Default:amd64 / 386
Architecture to use when choosing terraform version
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
terraform_command