You created infrastructure outside of the Terraform workflow that you now want to manage using Terraform. Which command brings the infrastructure into Terraform state?
You created infrastructure outside of the Terraform workflow that you now want to manage using Terraform. Which command brings the infrastructure into Terraform state?
To manage infrastructure that was created outside of the Terraform workflow, you need to bring it into Terraform state. The correct command for importing existing infrastructure into Terraform's state is 'terraform import'. This command allows Terraform to manage resources that were created through other means or by previous automation tools.
https://developer.hashicorp.com/terraform/cli/import