terraform { backend "http" { # Forgejo HTTP state backend. # Replace and with your Forgejo organisation and repository name. # Verify the exact path format against your running Forgejo instance's API docs. # Authentication: set TF_HTTP_USERNAME (Forgejo username) and # TF_HTTP_PASSWORD (Forgejo personal access token) as environment variables. # # If Forgejo's HTTP state endpoint is unavailable, remove this block entirely # to fall back to local state on the control node. address = "https://forgejo.nyumbani.baobab.band/api/v1/repos///raw/terraform/state/production.tfstate" lock_address = "https://forgejo.nyumbani.baobab.band/api/v1/repos///raw/terraform/state/production.tfstate/lock" unlock_address = "https://forgejo.nyumbani.baobab.band/api/v1/repos///raw/terraform/state/production.tfstate/lock" lock_method = "POST" unlock_method = "DELETE" } }