A root file gives each unit that includes it a different state key.
remote_state { backend = "s3"
config = { bucket = "my-tofu-state" key = "${trimprefix(path.unit, "${dirname(path.include)}/")}/tofu.tfstate" region = "us-east-1" }}