Merge pull request #5030 from hashicorp/5027_fix_template
update getting started docs to use a filter meaning they should stay …
This commit is contained in:
commit
837c35206a
|
@ -55,7 +55,15 @@ briefly. Create a file `example.json` and fill it with the following contents:
|
||||||
"access_key": "{{user `aws_access_key`}}",
|
"access_key": "{{user `aws_access_key`}}",
|
||||||
"secret_key": "{{user `aws_secret_key`}}",
|
"secret_key": "{{user `aws_secret_key`}}",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-fce3c696",
|
"source_ami_filter": {
|
||||||
|
"filters": {
|
||||||
|
"virtualization-type": "hvm",
|
||||||
|
"name": "*ubuntu-xenial-16.04-amd64-server-*",
|
||||||
|
"root-device-type": "ebs"
|
||||||
|
},
|
||||||
|
"owners": ["099720109477"],
|
||||||
|
"most_recent": true
|
||||||
|
},
|
||||||
"instance_type": "t2.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "packer-example {{timestamp}}"
|
"ami_name": "packer-example {{timestamp}}"
|
||||||
|
|
Loading…
Reference in New Issue