Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Packer Provisioner that let you add/remove Azure VM Extension

License

Notifications You must be signed in to change notification settings

dethi/packer-provisioner-azurerm-vm-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-provisioner-azurerm-vm-extension

packer-provisioner-azurerm-vm-extension is a provisioner plugin for Packer that let you add/remove Azure VM Extension during the provisioning phase.

Tested with Packer <=1.3. The plugin may need to be adapted for Packer >=1.4 because of the addition of HCL2.

Use Cases

Example

An example is provided for provisioning a Windows VM with the DSC Extension.

However, any Azure VM Extension should work.

Build & Usage

# build binary
$ go build -v .

# move plugin to specific directory
$ mkdir -p $HOME/.packer.d/plugins
$ mv packer-provisioner-azurerm-vm-extension $HOME/.packer.d/plugins

# run packer
$ cd example/
$ packer build -var 'foo=bar' [...] ./packer_example.json

For more information, read the Packer plugin documentation.

About

Packer Provisioner that let you add/remove Azure VM Extension

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published