Hi All,

I have set the env variable as follows and will re-run the build. In the 
meantime can anyone suggest if I am missing something?
$env:PACKER_LOG=1
$env:PACKER_LOG_PATH="C:\Packer\packerlog.txt"
$Env:AWS_MAX_ATTEMPTS=4000
$Env:AWS_POLL_DELAY_SECONDS=10


Thanks
Kishore


On Thursday, June 20, 2019 at 4:40:42 PM UTC+1, Kishore Ponniah wrote:
>
> Hi All, 
>
> I am trying to build Bamboo Elastic Agent AMI 6.9, it is at the final step 
> to create the AMI from the instance and the temporary AMI is waiting for a 
> long time to become available. Finally it fails with the following error 
> message.
>
> ========================================================
> ==> amazon-ebs: Creating AMI xocsoSW from instance i-0913090bf73b417db
>     amazon-ebs: AMI: ami-063644c4b44a23e8a
> ==> amazon-ebs: Waiting for AMI to become ready...
> ==> amazon-ebs: Error waiting for AMI. Reason: <nil>
> ==> amazon-ebs: Terminating the source AWS instance...
> ==> amazon-ebs: Cleaning up any extra volumes...
> ==> amazon-ebs: Deleting temporary keypair...
> Build 'amazon-ebs' errored: Error waiting for AMI. Reason: <nil>
>
> ==> Some builds didn't complete successfully and had errors:
> --> amazon-ebs: Error waiting for AMI. Reason: <nil>
>
> ==> Builds finished but no artifacts were created.
> =========================================================
>
> I have tried to set the environment variable as below from Powershell
>
> $Env:AWS_MAX_ATTEMPTS=400
> $Env:AWS_POLL_DELAY_SECONDS=10
>
> Still no luck. Can someone assist me?
>
> Thanks
> Kishore
>

-- 
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/7670d43f-ca6f-4bbe-a0aa-48b4abe5517b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to