~wombelix/terraform-provider-sourcehut

OpenTofu / Terraform plugin to provision and manage sourcehut (sr.ht) resources
docs(README): Usage instructions updated and link to registries added
docs(LICENSE): workaround for pkg.go.dev visibility
docs(README): Info added that GitHub mirror handles provider publishing

clone

read-only
https://git.sr.ht/~wombelix/terraform-provider-sourcehut
read/write
git@git.sr.ht:~wombelix/terraform-provider-sourcehut

You can also use your local clone with git send-email.

#OpenTofu / Terraform Provider for sourcehut (sr.ht)

Based on the work from SamWhited / terraform-provider-sourcehut


REUSE status builds.sr.ht status

#Table of Contents

#Usage

The provider is available in the OpenTofu and Terraform registry.

Example usage in a provider.tf file:

terraform {
  required_version = ">= 1.8"
  required_providers {
    sourcehut = {
      source  = "wombelix/sourcehut"
      version = "0.2.0"

      # SRHT_TOKEN env var
    }
  }
}

The sourcehut oauth personal access tokens will be read from Environment variable SRHT_TOKEN.

You also have the option to build the provider and install it manually.

After the build is complete (make), copy the terraform-provider-sourcehut binary into the third party plugins directory (e.g. ~/.terraform.d/plugins) and re-run terraform init. For more information, see the documentation about third party plugins.

The documentation can be found in thedocs/ sub-folder. The online version is available in the OpenTofu and Terraform registry.

#Source

The primary location is: git.sr.ht/~wombelix/terraform-provider-sourcehut

Mirrors are available on Codeberg, Gitlab and Github.

Publishing to registry.terraform.io and search.opentofu.org is handled by the GitHub mirror.

#Contribute

Please don't hesitate to provide Feedback, open an Issue or create a Pull / Merge Request.

Just pick the workflow or platform you prefer and are most comfortable with.

Feedback, bug reports or patches to my sr.ht list ~wombelix/inbox@lists.sr.ht or via Email and Instant Messaging are also always welcome.

#License

Unless otherwise stated: BSD-2-Clause

All files contain license information either as header comment or corresponding .license file.

REUSE from the FSFE implemented to verify license and copyright compliance.

Do not follow this link