# Custom AMI Not Creating -amazon-ebs: \* Error waiting for AMI in region (eu-west-2): Failed with ResourceNotReady

**URL:** <https://discuss.hashicorp.com/t/custom-ami-not-creating-amazon-ebs-error-waiting-for-ami-in-region-eu-west-2-failed-with-resourcenotready/39165>\
**Category:** Packer\
**Created:** [May 6, 2022, 11:51am UTC](https://discuss.hashicorp.com/t/custom-ami-not-creating-amazon-ebs-error-waiting-for-ami-in-region-eu-west-2-failed-with-resourcenotready/39165 "2022-05-06T11:51:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charith.ramanayake](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/charith.ramanayake/32/23974_2.png) [@charith.ramanayake](https://discuss.hashicorp.com/u/charith.ramanayake)\
**Post date:** [May 6, 2022, 11:51am UTC](https://discuss.hashicorp.com/t/custom-ami-not-creating-amazon-ebs-error-waiting-for-ami-in-region-eu-west-2-failed-with-resourcenotready/39165/1 "2022-05-06T11:51:31Z")

</div>

![packer-issue](https://global.discourse-cdn.com/hashicorp/original/3X/9/d/9dd7fad811399aeacef03610460b96e0babea09a.png)  
Previously i was able to create this windows custom AMI but now i can see this attached message

some time i could create the AMI but cannot log in to the EC2 that created in it, it says

“The instance was launched from a custom AMI, or the default password has changed”
