Storing Terraform states recordsdata regionally just isn’t advisable. As a substitute it’s best to use a backend
corresponding to as S3 from AWS.
To do that, you simply want so as to add the next backend
info in a terraform
block in your code:
terraform {
backend "s3" {
bucket = "mybucket"
key = "path/to/my/key"
area = "eu-west-1"
}
}