Resolve "[Feature flag] Rollout of `allow_dots_on_tf_state_names`"
What does this MR do and why?
This feature flag was used to conditionally allow dots in Terraform state names. This FF has been enabled on GitLab.com since its existance and was only relevant for self-managed.
Now, we are removing it to always allow dots in Terraform state names.
Closes #385597 (closed)
How to set up and validate locally
- Create a new project.
- Create a pipeline with the
Terraform.latest.gitlab-ci.yml
template. - Set the
TF_STATE_NAME
variable toterraform.tfstate
:
include:
- template: Terraform.latest.gitlab-ci.yml
variables:
TF_STATE_NAME: terraform.tfstate
- Add
main.tf
with dummy content (e.g. single output definition of literal) and anhttp
backend config:
terraform {
backend "http" {}
}
output "foobar" {
value = 42
}
- Verify that pipeline runs and a TF state called
terraform.tfstate
exists.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #385597 (closed)
Edited by Timo Furrer