Created
March 9, 2019 19:36
-
-
Save 100daysofdevops/566a9a4e42f5a4fb740aea59d72df8e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "builders": [{ | |
| "type": "amazon-ebs", | |
| "region": "us-west-2", | |
| "source_ami": "ami-01ed306a12b7d1c96", | |
| "instance_type": "t2.micro", | |
| "ssh_username": "centos", | |
| "ami_name": "centos-packer-example-4.0" | |
| }], | |
| "provisioners": [ | |
| { | |
| "type": "file", | |
| "source": "mytestfile", | |
| "destination": "/tmp/mytestfile" | |
| }, | |
| { | |
| "type": "shell", | |
| "script": "script.sh" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment