• Infrastructure
    • terraform
    • packer
    • vagrant
  • Networking
    • consul
  • Security
    • vault
    • boundaryNew
  • Applications
    • nomad
    • waypointNew
  • HashiCorp Cloud Platform
    • consulGenerally Available
    • terraform
    • vaultPublic Beta
  • Partner Services
    • HashiCorp Consul Service (HCS) on Azure
  • About HashiCorp
    • Overview
    • Intro
    • Guides
    • Docs
    • Community
    GitHub—
    Download
    Documentation Menu
      ×
    • v1.5 Configuration Language
      • Overview
      • Blocks
        • Overview
        • build
          • Overview
          • source
          • provisioner
          • post-processor
          • post-processors
        • locals
        • source
        • variable
        • packer
      • Functions
        • Overview
        • Contextual Functions
          • Overview
          • aws_secretsmanager
          • consul
          • env
          • vault
        • Numeric Functions
          • Overview
          • abs
          • ceil
          • floor
          • log
          • max
          • min
          • parseint
          • pow
          • signum
        • String Functions
          • Overview
          • chomp
          • format
          • formatlist
          • indent
          • join
          • lower
          • replace
          • regex_replace
          • split
          • strrev
          • substr
          • title
          • trim
          • trimprefix
          • trimsuffix
          • trimspace
          • upper
        • Collection Functions
          • Overview
          • chunklist
          • coalesce
          • coalescelist
          • compact
          • concat
          • contains
          • distinct
          • element
          • flatten
          • keys
          • length
          • lookup
          • merge
          • range
          • reverse
          • setintersection
          • setproduct
          • setunion
          • slice
          • sort
          • values
          • zipmap
        • Encoding Functions
          • Overview
          • base64decode
          • base64encode
          • csvdecode
          • jsondecode
          • jsonencode
          • urlencode
          • yamldecode
          • yamlencode
        • Filesystem Functions
          • Overview
          • abspath
          • basename
          • dirname
          • file
          • fileexists
          • fileset
          • pathexpand
        • Date and Time Functions
          • Overview
          • formatdate
          • timeadd
          • timestamp
        • Hash and Crypto Functions
          • Overview
          • bcrypt
          • md5
          • rsadecrypt
          • sha1
          • sha256
          • sha512
        • UUID Functions
          • Overview
          • uuidv4
          • uuidv5
        • IP Network Functions
          • Overview
          • cidrhost
          • cidrnetmask
          • cidrsubnet
        • Type Conversion Functions
          • Overview
          • can
          • convert
          • try
      • Variables
      • Locals
      • Contextual Variables
      • Path Variables
      • Syntax
      • Only Except
      • Expressions
      • JSON Syntax

    • Terminology
    • Commands (CLI)
      • Overview
      • build
      • console
      • fix
      • fmt
      • inspect
      • validate
      • hcl2_upgrade
    • Templates
      • Overview
      • Builders
      • Communicators
      • Engine
      • Post-Processors
      • Provisioners
      • User Variables

    • Communicators
      • Overview
      • SSH
      • WINRM
    • Builders
      • Overview
      • Alicloud ECS
      • Amazon EC2
        • Overview
        • chroot
        • EBS
        • EBS Surrogate
        • EBS Volume
        • Instance
      • Azure
        • Overview
        • ARM
        • chroot
      • CloudStack
      • DigitalOcean
      • Docker
      • File
      • Google Cloud
      • Hetzner Cloud
      • HyperOne
      • Hyper-V
        • Overview
        • ISO
        • VMCX
      • Linode
      • LXC
      • LXD
      • NAVER Cloud
      • Null
      • 1&1
      • OpenStack
      • Oracle
        • Overview
        • Oracle Classic
        • Oracle OCI
      • Outscale
        • Overview
        • chroot
        • BSU
        • BSU Surrogate
        • BSU Volume
      • Parallels
        • Overview
        • ISO
        • PVM
      • ProfitBricks
      • Proxmox
        • Overview
        • ISO
        • Clone
      • QEMU
      • Scaleway
      • Tencent Cloud
      • JDCloud
      • Triton
      • UCloud
      • Vagrant
      • VirtualBox
        • Overview
        • ISO
        • OVF
        • VM
      • VMware
        • Overview
        • VMWare ISO
        • VMWare VMX
        • VSphere ISO
        • VSphere Clone
      • Yandex.Cloud
      • Custom
      • Community-Supported
    • Provisioners
      • Overview
      • Ansible Local
      • Ansible (Remote)
      • Breakpoint
      • Chef Client
      • Chef Solo
      • Converge
      • File
      • InSpec
      • PowerShell
      • Puppet Masterless
      • Puppet Server
      • Salt Masterless
      • Shell
      • Shell (Local)
      • Windows Shell
      • Windows Restart
      • Custom
      • Community-Supported
    • Post-Processors
      • Overview
      • Alicloud Import
      • Amazon Import
      • Artifice
      • Compress
      • Checksum
      • DigitalOcean Import
      • Docker Import
      • Docker Push
      • Docker Save
      • Docker Tag
      • Exoscale Import
      • Google Compute Export
      • Google Compute Import
      • Manifest
      • Shell (Local)
      • UCloud Import
      • Vagrant
      • Vagrant Cloud
      • vSphere
      • vSphere Template
      • Yandex.Cloud Compute Export
      • Yandex.Cloud Compute Import
      • Community-Supported

    • Installing Packer

    • Extending Packer
      • Overview
      • Plugins
      • Custom Builders
      • Custom Post-Processors
      • Custom Provisioners

    • Environment Variables
    • Core Configuration
    • Debugging
    Type '/' to Search
    github logoEdit this page
    IntroGuidesDocsCommunityPrivacySecurityPress KitConsent Manager