Last active
July 16, 2017 00:01
-
-
Save DanielMarquard/7587af38e1dbb76e89e373cf89ecd44b to your computer and use it in GitHub Desktop.
baseline-ami.json
This file contains 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", | |
"access_key": "{{user `aws_access_key`}}", | |
"secret_key": "{{user `aws_secret_key`}}", | |
"region": "{{user `aws_region`}}", | |
"source_ami": "{{user `aws_source_ami`}}", | |
"instance_type": "t2.micro", | |
"ssh_username": "centos", | |
"ami_name": "baseline-ami-centos73-{{timestamp}}", | |
"launch_block_device_mappings": [ | |
{ | |
"device_name": "/dev/sda1", | |
"volume_size": 8, | |
"volume_type": "gp2", | |
"delete_on_termination": true | |
} | |
], | |
"shutdown_behavior": "terminate", | |
"force_deregister": "true", | |
"force_delete_snapshat": "true" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment