With Terraform 1.5 and later, you can use the import block to manage the import of resources directly in your configuration. This feature simplifies the process of importing existing infrastructure into Terraform state, eliminating the need for a separate CLI terraform import command.

In this article, we explain the import block and how to use it to import different resources.

Leave a Reply

Your email address will not be published. Required fields are marked *