{
  "variables": {
    "aws_access_key": "",
    "aws_secret_key": ""
  },
  "builders": [
    {
      "type": "amazon-ebs",
      "access_key": "{{user `aws_access_key`}}",
      "secret_key": "{{user `aws_secret_key`}}",
      "region": "ap-south-1",
      "source_ami": "ami-0620d12a9cf777c87",
      "instance_type": "t2.micro",
      "ssh_username": "ubuntu",
      "ssh_timeout": "2m",
      "ami_name": "example {{timestamp}}",
    "tags":{
    "Name": "GaneshK - {{timestamp}}"
    }
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "script": "dependencies.sh" 
    }
  ]
}

On Monday, March 23, 2020 at 10:21:35 PM UTC+5:30, Megan Marsh wrote:
>
> Can you please share a template so we can reproduce?
>
> On Mon, Mar 23, 2020 at 7:10 AM 'Ganesh Katakam' via Packer <
> [email protected] <javascript:>> wrote:
>
>> Hi there, 
>>
>> While I am doing a packer build, I am not specifying any security group 
>> id so that packer will generate a temporary security group for ssh on port 
>> 22. But when I check the security group created by packer, there are no 
>> inbound rules due to which I am not able to ssh to my source instance and 
>> getting SSH timed out error.
>>
>> Any suggestions
>>
>> *The content of this e-mail is confidential and is intended solely for 
>> the use of the individual or entity to whom it is addressed. If you have 
>> received this e-mail by mistake, please reply to this e-mail and follow 
>> with its deletion. If you are not the intended recipient, please note that 
>> it shall be considered unlawful to copy, forward or in any manner reveal 
>> the contents of this e-mail or any part thereof to anyone. Although 
>> Freshworks has taken reasonable precautions to ensure no malware is present 
>> in this e-mail, Freshworks cannot accept responsibility for any loss or 
>> damage arising from the use of this e-mail or attachments.* 
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/69b22de8-f14d-4f91-8923-e6f5fef56ee1%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/69b22de8-f14d-4f91-8923-e6f5fef56ee1%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
-- 
**The content of this e-mail is confidential and is intended solely for the 
use of the individual or entity to whom it is addressed. If you have 
received this e-mail by mistake, please reply to this e-mail and follow 
with its deletion. If you are not the intended recipient, please note that 
it shall be considered unlawful to copy, forward or in any manner reveal 
the contents of this e-mail or any part thereof to anyone. Although 
Freshworks has taken reasonable precautions to ensure no malware is present 
in this e-mail, Freshworks cannot accept responsibility for any loss or 
damage arising from the use of this e-mail or attachments.**

-- 
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/d08b75a1-a367-430d-83f8-e8ef76b86d1d%40googlegroups.com.

Reply via email to