Documentation Reference
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance
Initialize the terraform and download the plugins for the providers
terraform initThis command just dry run the checks before actually proceding the actual steps.
terraform planRun the plan
terraform applyterraform apply --auto-approveDestroying / Removing the resources
terraform destroySee the list of states of resources
terraform state listTo check the particular resource state
terraform state show <resource-name>