https://github.com/sebastienpittet/demo-packer
https://github.com/sebastienpittet/demo-packer
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sebastienpittet/demo-packer
- Owner: SebastienPittet
- Created: 2021-12-02T16:37:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-07T11:00:18.000Z (over 3 years ago)
- Last Synced: 2025-02-04T09:16:56.358Z (4 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About demo-packer
demo-packer is all about Hashicorp Packer, a tool to automate the creation of custom templates. It benefits from the idea of Infrastructure as Code (IaC).## Files of demo-packer
* README : this file
* packer-plugins.pkr.hcl : configuration of the Exoscale plugin
* demo-webapp.pkr.hcl : Describe the creation of a template based on Debian 11 (Bullseye) with nginx, gunicorn and a Python Flask application (taken from Github)
* variables.auto.pkr.hcl : still unused (initial commit)
* deploy.sh : script used to deploy nginx + gunicorn + Python/Flask application. Variables to be adapted.
## Usage
To run, use the following:export PKR_VAR_api_key=EXO...
export PKR_VAR_api_secret=...
packer build demo-webapp.pkr.hcl