A terraform provider for Forgejo.
.github | ||
docs | ||
examples | ||
internal | ||
templates | ||
tools | ||
.gitignore | ||
.golangci.yml | ||
.goreleaser.yml | ||
CHANGELOG.md | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md | ||
terraform-registry-manifest.json |
Forgejo terraform provider
Read the full documentation here
The Forgejo terraform / OpenTofu provider is used to interact with the resources supported by Forgejo. The provider needs to be configured with the proper credentials before it can be used. It requires terraform 1.0 or later.
Example Usage
terraform {
required_providers {
forgejo = {
source = "adyxax/forgejo"
}
}
}
provider "forgejo" {
api_token = var.forgejo_api_token
endpoint = "https://git.adyxax.org/"
}
# TODO