Skip to content

Commit

Permalink
chore: add OpenTofu references to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
acch committed Feb 15, 2025
1 parent 0dea150 commit 51a5225
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## Requirements

- [Terraform](https://developer.hashicorp.com/terraform/downloads) >= 1.0
- [Terraform](https://developer.hashicorp.com/terraform/install) >= 1.0
- [OpenTofu](https://opentofu.org/docs/intro/install/) >= 1.6
- [Go](https://golang.org/doc/install) >= 1.23

## Building the Provider
Expand Down Expand Up @@ -31,7 +32,7 @@ terraform-provider-forgejo/
This provider uses [Go modules](https://github.com/golang/go/wiki/Modules).
Please see the Go documentation for the most up to date information about using Go modules.

To add a new dependency `github.com/author/dependency` to your Terraform provider:
To add a new dependency `github.com/author/dependency` to your Terraform/OpenTofu provider:

```shell
go get github.com/author/dependency
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Terraform Provider for Forgejo

This repository contains a [Terraform](https://www.terraform.io/) provider for [Forgejo](https://forgejo.org/) — self-hosted lightweight software forge.
This repository contains a [Terraform](https://www.terraform.io/) and [OpenTofu](https://opentofu.org/) provider for [Forgejo](https://forgejo.org/) — self-hosted lightweight software forge.

## Contents

The Forgejo Terraform Provider allows managing resources within Forgejo. It is in an **early** stage and currently provides the following...
The Forgejo Terraform/OpenTofu Provider allows managing resources within Forgejo. It is in an **early** stage and currently provides the following...

Resources:

Expand All @@ -22,7 +22,7 @@ Data Sources:

## Using the Provider

Import the provider into your Terraform configuration:
Import the provider into your Terraform/OpenTofu configuration:

```terraform
terraform {
Expand Down Expand Up @@ -71,7 +71,7 @@ provider "forgejo" {
```

> **Important**: The Forgejo API client does not (currently) allow ignoring certificate errors.
> When connecting through `https://`, the Forgejo host must supply certificates trusted by the Terraform host.
> When connecting through `https://`, the Forgejo host must supply certificates trusted by the Terraform/OpenTofu host.
> Hence, self-signed certificates must be imported locally.
> This can be achieved by running the following command:
>
Expand Down

0 comments on commit 51a5225

Please sign in to comment.