Original PR: https://github.com/vinta/awesome-python/pull/1037 Author: @mayn Created: 3/19/2018 Status: ❌ Closed
Base: master ← Head: add-packerlicious
master
add-packerlicious
07c08d4
1 file changed (+1 additions, -0 deletions)
📝 README.md (+1 -0)
README.md
packerlicious is a python library to create packer templates in python.
example usage:
from packerlicious import builder, provisioner, Template template = Template() template.add_builder( builder.AmazonEbs( access_key="...", secret_key="...", region="us-east-1", source_ami="ami-fce3c696", instance_type="t2.micro", ssh_username="ubuntu", ami_name="packer {{timestamp}}" ) ) template.add_provisioner( provisioner.Shell( script="setup_things.sh" ) ) print(template.to_json())
resulting packer template:
{ "builders": [ { "access_key": "...", "ami_name": "packer {{timestamp}}", "instance_type": "t2.micro", "region": "us-east-1", "secret_key": "...", "source_ami": "ami-fce3c696", "ssh_username": "ubuntu", "type": "amazon-ebs" } ], "provisioners": [ { "script": "setup_things.sh", "type": "shell" } ] }
--
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1037
Author: @mayn
Created: 3/19/2018
Status: ❌ Closed
Base:
master← Head:add-packerlicious📝 Commits (1)
07c08d4add packerlicious library📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
packerlicious is a python library to create packer templates in python.
example usage:
resulting packer template:
What's the difference between this Python project and similar ones?
--
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.