-
Notifications
You must be signed in to change notification settings - Fork 0
/
centos71908ami.json
46 lines (46 loc) · 1.34 KB
/
centos71908ami.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"variables": {
"aws_access_key": "AKIAIOSFODNN7EXAMPLE",
"aws_ami_name": "centos71908ami",
"aws_ami_users": ["111122223333", "444455556666", "777788889999"],
"aws_secret_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
"aws_security_group_ids": ["sg-bc97mysg", "sg-mysg8a8f"],
"aws_source_ami": "ami-2345idufi34",
"aws_vpc_id": "vpc-bcmy8vpc",
"instance_type": "t2-micro"
},
"builders": [
{
"type": "amazon-ebs",
"region": "us-east-1",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"vpc_id": "{{user `aws_vpc_id`}}",
"ami_name": "{{user `aws_ami_name`}}",
"subnet_id": "{{user `aws_subnet_id`}}",
"security_group_ids": "{{user `aws_security_group_ids`}}",
"source_ami": "{{user `source_ami`}}",
"ami_users": "{{user `aws_ami_users`}}",
"instance_type": "{{user `instance_type`}}",
"ami_virtualization_type": "hvm",
"ami_block_device_mappings": [
{
"device_name": "/dev/sda1",
"volume_type": "gp2",
"volume_size": "8",
"delete_on_termination": true,
"encrypted": false
}
],
"ena_support" : true
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"echo Do other configs..."
]
}
]
}