Due to the speedy nature of our wikibase.cloud production terraform setup we chose to do some cleanup after getting things set up.
One thing that we noticed was that the copied setup left some variables etc with undesirable names, such as -dev- or -staging
We should eliminate these confusingly names values from our "production" setup, and generally unify these names
For example, if we have currently have a resource with the name resource-foo-staging in both production and staging terraforms, we probably just want this to be called resource-foo in both places
AC:
- Remove production/staging from recaptcha secrets in tf/env/staging/variables.tf and tf/env/production/variables.tf
-
Unify tf/env/staging/dns.tf and tf/env/production/dns.tf -
Unify tf/env/staging/serviceaccount.tf and tf/env/production/serviceaccount.tf -
(Optinal) Unify tf/env/staging/buckets.tf and tf/env/production/buckets.tf (Mainly touches the remote-state bucket which feels scary)