LoginSignup
0
0

More than 5 years have passed since last update.

packer source_ami_filterメモ

Posted at

記述例

  • Amazon Linux 2
{
  "builders": [{
    "type": "amazon-ebs",
    "region": "ap-northeast-1",
    "source_ami_filter": {
      "filters": {
        "virtualization-type": "hvm",
        "name": "amzn2-ami-hvm-2.0.*-x86_64-gp2",
        "root-device-type": "ebs"
      },
      "owners": ["137112412989"],
      "most_recent": true
    }
  }]
}

amiのnameやownersを得る

$ aws ec2 describe-images --image-ids ami-08847abae18baa040
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0