Skip to content

[WIP] Terraform state package#34331

Closed
elbandi wants to merge 7 commits into
go-gitea:mainfrom
elbandi:terraform-package
Closed

[WIP] Terraform state package#34331
elbandi wants to merge 7 commits into
go-gitea:mainfrom
elbandi:terraform-package

Conversation

@elbandi
Copy link
Copy Markdown
Contributor

@elbandi elbandi commented Apr 30, 2025

This PR adds terraform state backend store to packages feature:
https://developer.hashicorp.com/terraform/language/backend/http

In TF state there is no such "version": state sould be the latest. But you can store more state (for every branches), we call this as "version". There is always one file for this named version.

State lock is not the best, currently i havent better idea for imlementation. Feel free to make suggests.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 30, 2025
@techknowlogick
Copy link
Copy Markdown
Member

Thanks for this PR, have you seen the other one in progress?

@elbandi
Copy link
Copy Markdown
Contributor Author

elbandi commented May 2, 2025

Thanks for this PR, have you seen the other one in progress?

no. where? link pls.

@TheFox0x7
Copy link
Copy Markdown
Contributor

I believe it's this one: #33277

@elbandi
Copy link
Copy Markdown
Contributor Author

elbandi commented May 2, 2025

I believe it's this one: #33277

oh, i didnt find that :(

Than my code is duplicate work.

@elbandi elbandi closed this May 2, 2025
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jul 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants