(ami & {:as config})
Returns a component that builds an AMI using packer. Requires a packer binary on the $PATH.
Config options:
:dir (Required) The directory to run packer from.
:template-file (Required) The packer template file. Relative to :dir.
:init? (Default: true)
Run packer init
before building. This ensures that any plugins
the template needs get installed.
:vars (Default: {}) A map of vars passed to packer build. The vars must be defined in the template file.
Instance keys:
:ami (string) The AMI that was built. Example: "ami-01fbf1afdc14f6c96".
:region (string) The AWS region of the AMI. Example: "us-east-2".
Returns a component that builds an AMI using packer. Requires a packer binary on the $PATH. Config options: :dir (Required) The directory to run packer from. :template-file (Required) The packer template file. Relative to :dir. :init? (Default: true) Run `packer init` before building. This ensures that any plugins the template needs get installed. :vars (Default: {}) A map of vars passed to packer build. The vars must be defined in the template file. Instance keys: :ami (string) The AMI that was built. Example: "ami-01fbf1afdc14f6c96". :region (string) The AWS region of the AMI. Example: "us-east-2".
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close