首页 > 解决方案 > 无法在控制台中细化打包器构建的图像

问题描述

我是包装工的新手,我正在尝试它。

{

  "builders": [
    {
      "type": "amazon-ebs",
      "profile" : "sumanthdev",
      "region": "us-east-1",
      "source_ami_filter": {
        "filters": {
          "virtualization-type": "hvm",
          "name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*",
          "root-device-type": "ebs"
        },
        "owners": ["099720109477"],
        "most_recent": true
      },
      "instance_type": "t2.micro",
      "ssh_username": "ubuntu",
      "ami_name": "packer-example {{timestamp}}"
    }
  ]

}

这给了我一个输出

==> 构建完成。成功构建的工件是:--> amazon-ebs:AMI 已创建:us-east-1:ami-0b9dfb74858d0f690

当我登录到控制台时,我无法在控制台中看到 ami。

注意:我正在使用在我的 aws.cerdentials 文件中设置的个人资料“sumanthdev”

这可能是什么原因?

标签: amazon-web-servicespacker

解决方案


推荐阅读