File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
"aws_access_key" : " " ,
4
4
"aws_secret_key" : " " ,
5
5
"region" : " " ,
6
+ "ami" : " " ,
6
7
"name" : " "
7
8
},
8
9
"builders" : [{
9
10
"type" : " amazon-ebs" ,
10
11
"access_key" : " {{user `aws_access_key`}}" ,
11
12
"secret_key" : " {{user `aws_secret_key`}}" ,
12
13
"region" : " {{user `region`}}" ,
13
- "source_ami" : " ami-0f7719e8b7ba25c61 " ,
14
- "instance_type" : " t2.micro " ,
14
+ "source_ami" : " {{user ` ami`}} " ,
15
+ "instance_type" : " t2.large " ,
15
16
"ssh_username" : " ubuntu" ,
16
17
"ami_name" : " {{user `name`}}" ,
17
18
"launch_block_device_mappings" : [{
18
19
"device_name" : " /dev/sda1" ,
19
- "encrypted" : true ,
20
- "kms_key_id" : " 44e7e739-21f1-4678-829e-d1ac63d121b4" ,
21
20
"iops" : 400 ,
22
21
"volume_type" : " io1" ,
23
22
"volume_size" : 8 ,
35
34
"type" : " shell" ,
36
35
"scripts" : [
37
36
" scripts/01-test" ,
37
+ " scripts/02-credentials_cleanup.sh" ,
38
38
" scripts/90-cleanup.sh" ,
39
39
" scripts/91-log_cleanup.sh" ,
40
40
" scripts/99-img_check.sh"
Original file line number Diff line number Diff line change
1
+ sudo rm /home/ubuntu/.ssh/authorized_keys
You can’t perform that action at this time.
0 commit comments