Skip to content

wombelix/terraform-provider-sourcehut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

OpenTofu / Terraform plugin to provision and manage sourcehut (sr.ht) resources. Mirror of https://git.sr.ht/~wombelix/terraform-provider-sourcehut

Resources

License

Stars

Watchers

Forks

Packages

No packages published