minamijoyo / tfmigrate

A Terraform / OpenTofu state migration tool for GitOps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] GCP Cloud Storage History Backend

GoodmanBen opened this issue · comments

Current State:
At present, tfmigrate only supports remote storage in Amazon's S3 service. This limits the usage for projects that are based on GCP.

Desired New State:
Support GCP's Cloud Storage as a remote storage service.

Will follow the pattern recommended by this comment. "Assigning" this issue to myself. Aiming to have an initial pull request available within the coming weeks. Will build off the comments and work done as part of #23.

Hi @GoodmanBen, Thank you for offering to take over #23.

As mentioned in #23 (comment), the patch has a license conflict issue and I've been waiting a response from @ethernetdan.

With no reply for months, if you are willing to help with us, it seems that it's time to move forward with you. If I split the history storage related implementation into another repository as MPL2, would you implement the GCC history storage?

@minamijoyo Yes, happy to do so in another repository if that is where you want it to live.

Hi @GoodmanBen,

Splitting the history storage related implementation into a new separate repository in MPL2.0 has been done by #79, #80.
https://github.com/minamijoyo/tfmigrate-storage

Feel free to reuse some code snippet from the upstream hashicorp/terraform to implement the gcs storage support.

Sounds great, thank you for doing this refactor!

The gcs history storage has been finally added in v0.3.7 via #103. Thank you all for working on this!