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 3 months ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
if you want to load existing infra use
terraform import
command. don't touch the state file at any case.