lets say i have 2 projects: database_a, database_b
database_b state is currently configured using database_a’s statefile nomenclature by mistake(the key specifically, foo/bar/terraform.tfstate).
However, the good news is the resources provisioned in database_b project has 0 overlap with database_a. database_b resources are in different workspaces compared to database_a.
visual example:
database_a:
workspaces: space1
database_b:
workspaces: space2,space3
Whats the best way to fix this? should i manually create the folders in the s3 bucket for database_b and import/copy the terraform state files, then manually change the key after? Or do i have to run terraform import?
Thank you