---
title: "Comment by Anik Sikder on \"Create AMI for Existing Instance Using Terraform\" | Hashnode"
description: "Great step-by-step guide, Kunal! I like how you addressed the asynchronous nature of AMI creation and provided a practical Terraform + AWS CLI workaround using"
url: "https://hashnode.com/posts/create-ami-for-existing-instance-using-terraform/6898a996ee50915fabea4839/comment/6898c1336dc943cb058d7047"
---

[Discussion](https://hashnode.com/posts/create-ami-for-existing-instance-using-terraform/6898a996ee50915fabea4839)

Comment [Create AMI for Existing Instance Using Terraform](https://hashnode.com/posts/create-ami-for-existing-instance-using-terraform/6898a996ee50915fabea4839)

[Anik Sikder](https://hashnode.com/@anik169)

[Aug 10, 2025](https://hashnode.com/posts/create-ami-for-existing-instance-using-terraform/6898a996ee50915fabea4839/comment/6898c1336dc943cb058d7047)

Great step-by-step guide, Kunal! I like how you addressed the asynchronous nature of AMI creation and provided a practical Terraform + AWS CLI workaround using null\_resource and local-exec to wait for the AMI to become available. This is often a pain point for many when automating AMI creation with Terraform. Also, the reminder to clean up resources to avoid unexpected charges is much appreciated. Thanks for sharing!

[Kunal Kumar Singh](https://hashnode.com/@Kunalsingh2908)

[Aug 11, 2025](https://hashnode.com/posts/create-ami-for-existing-instance-using-terraform/6898a996ee50915fabea4839/comment/6898c1336dc943cb058d7047#reply-6899d9f3ecc2a6cfdef3d46c)

Thanks for appreciating the work :)
