We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb95a5e + b680cb0 commit db97804Copy full SHA for db97804
packer/linux/buildkite-ami.json
@@ -1,13 +1,20 @@
1
{
2
"variables": {
3
- "region": "us-east-1",
4
- "ami": "ami-00b882ac5193044e4"
+ "region": "us-east-1"
5
},
6
"builders": [
7
8
"type": "amazon-ebs",
9
"region": "{{user `region`}}",
10
- "source_ami": "{{user `ami`}}",
+ "source_ami_filter": {
+ "filters": {
11
+ "name": "amzn2-ami-hvm-2.0.*-gp2",
12
+ "architecture": "x86_64",
13
+ "virtualization-type": "hvm"
14
+ },
15
+ "owners": ["amazon"],
16
+ "most_recent": true
17
18
"instance_type": "m5.xlarge",
19
"spot_price": "auto",
20
"spot_price_auto_product": "Linux/UNIX (Amazon VPC)",
0 commit comments