How to import Terraform null resource

<p>Hashicorp Terraform is one of the mainly used tool to create infrastructures as code (IaC) and allow DevOps to manage and version infrastructures easily.</p> <p>Terraform can manage a lot of resources thanks to its large community of providers, but there are some cases where a physical resource is not backed by a resource of a provider or you have a specific need that is not covered yet.</p> <p>This is where null resource come to rescue.</p> <p>A null resource is a resource that does nothing (<em>suprise</em>) and is mainly used in conjunction with local or remote provisioners to allow the execution of some code.</p> <p>If you are lucky, you can use terraform to create all the resources since the beginning but if you are not, you need to import them so that terraform can know that they exist and track changes.</p> <p><a href="https://medium.com/@santimar/how-to-import-terraform-null-resource-02d2b93a86b6"><strong>Click Here</strong></a></p>
Tags: Terraform null