Better namespacing of Terraform state files
Problem to solve
As an Application Operator, I want to store my Terraform state files in more descriptive paths, so that I can find them easily when needed and that it feels more familiar.
Right now we support project-production-us-west-1
but some users want project/production/us-west-1
as the Terraform state file path. This would result in TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/custom/path/development/us-west-1
Intended users
User experience goal
Allow the users to set path-like Terraform state paths.
Proposal
Right now we support project-production-us-west-1
but some users want project/production/us-west-1
as the Terraform state file path. This would result in TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/custom/path/development/us-west-1