Hey everyone, I'm trying to get a basic packer build working and it keeps 
timing out waiting for the instance to become ready.

Packer: 1.1.3
OS Version: macOS 10.13.1
Go: 1.9.2 darwin/amd64

I am able to successfully SSH into the machine using the debug keypair.

Here's the config I'm using:

{
  "variables": {
    "aws_access_key": "{{env `AWS_ACCESS_KEY_ID`}}",
    "aws_secret_key": "{{env `AWS_SECRET_ACCESS_KEY`}}"
  },
  "builders": [{
    "type": "amazon-ebs",
    "access_key": "{{user `aws_access_key`}}",
    "secret_key": "{{user `aws_secret_key`}}",
    "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",
    "subnet_id": "subnet-1128b52b",
    "security_group_id": "sg-3116b34c",
    "ssh_username": "ubuntu",
    "ami_name": "redis-proxy {{timestamp}}"
  }]
}

gist of my log output: 
https://gist.github.com/alassek/b15a7b0e802dc628d223b569c054a6ba

Am I missing something obvious here?

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/389a432e-531d-4aa8-b69b-2cbc23c05b67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to