1 Answer
- Newest
- Most votes
- Most comments
1
Hey - the terraform state file is unique to each deployment. It sounds like your new deployment is trying to reach the old state file.
I'd recommend going through the HashiCorp AWS Terraform tutorials and learning the product, before using another tool to extract IaC from an existing account.
answered 2 years ago
Relevant content
- asked a month ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
if you want to load existing infra use
terraform import
command. don't touch the state file at any case.