Add replication for versioned terraform state

Merged Alex Ives requested to merge alexives/237926/add_replication_for_tf_state_version into master

What does this MR do?

Adds replication for terraform state versions, behind a feature flag.

This code puts it behind a feature flag automatically as a part of the self service framework, so no Changelog is included. There will be a changelog as a part of the final merge request that also enables the feature, also there was a database changelog for this work in a prior merge request.

Does this MR meet the acceptance criteria?


Availability and Testing


If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Fixes #237926 (closed) Fixes #237927 (closed)

Edited by Michael Kozono