I can confirm that 1.1.2 works with Amazon, so I will do that. Thanks for
the help.


On December 15, 2017 at 1:35:42 PM, Matthew Hooker ([email protected])
wrote:

cross-posting from the other thread:

Thanks for the report. We recently changed how we wait for instances to
become ready, and I think this is related to that. This will be fixed in
the next version of packer. In the meantime, can you use 1.1.2? If there's
a feature in 1.1.3 that you need, I think I can probably provide a patch
that should fix this for you. Tracking here
https://github.com/hashicorp/packer/issues/5705#issuecomment-352082197

On Fri, Dec 15, 2017 at 8:03 AM Adam Lassek <[email protected]>
wrote:

> Yes, it has public IPv4 addresses, like I said before I can SSH into it
> just fine using the debug key pair.
>
>
> On December 15, 2017 at 3:27:29 AM, Alvaro Miranda Aguilera (
> [email protected]) wrote:
>
> Hello Adam
>
> Are you building from outside the AWS subnet network? ie from computer at
> home/work?
>
> Does your subnet have public IPV4 on by default?
>
>
>
> Or you can test adding: associate_public_ip_address
> <https://www.packer.io/docs/builders/amazon-ebs.html#associate_public_ip_address>
>
>
> Alvaro.​
>
> On Thu, Dec 14, 2017 at 10:41 PM, <[email protected]> wrote:
>
>> 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
>> <https://groups.google.com/d/msgid/packer-tool/389a432e-531d-4aa8-b69b-2cbc23c05b67%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Alvaro
>
> --
> 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 a topic in the
> Google Groups "Packer" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/packer-tool/WF48guOnI7Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
>
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/CAHqq0ew_JKOxodx-6EA-Py07D8m-G9LRsU3Ek2YXUhwsg0%3DNAA%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAHqq0ew_JKOxodx-6EA-Py07D8m-G9LRsU3Ek2YXUhwsg0%3DNAA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/CABbGsNDtxiD7fzwjeF7Rix3LYOSxQpQhxxoEeWNWw3JPqjCFSQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CABbGsNDtxiD7fzwjeF7Rix3LYOSxQpQhxxoEeWNWw3JPqjCFSQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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 a topic in the
Google Groups "Packer" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/packer-tool/WF48guOnI7Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/CAEpfdnw_Jtiu3OZUSw8UGEVF4jA8RLp6yTfxg15ZnfYwsp81vQ%40mail.gmail.com
<https://groups.google.com/d/msgid/packer-tool/CAEpfdnw_Jtiu3OZUSw8UGEVF4jA8RLp6yTfxg15ZnfYwsp81vQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

-- 
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/CABbGsNDxWgHGBFF1%3DqrO%3DHe88BPsoyJXBj7K_ObYOTVKQqgKdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to