Terraform Backend S3, Edit In July 2024, OpenTofu (a Terraform fork), allows variables and locals for backends.