terraform-provider-woodpecker/docs/index.md

38 lines
1.1 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "woodpecker Provider"
subcategory: ""
description: |-
A Terraform provider used to interact with Woodpecker CI https://woodpecker-ci.org/ resources.
v0.2.x and later versions of the provider work with Woodpecker 2.x+v0.1.x version of the provider works with Woodpecker 2.0.0>1.x>=1.0.0
---
# woodpecker Provider
A Terraform provider used to interact with [Woodpecker CI](https://woodpecker-ci.org/) resources.
- v0.2.x and later versions of the provider work with Woodpecker 2.x+
- v0.1.x version of the provider works with Woodpecker 2.0.0>1.x>=1.0.0
## Example Usage
```terraform
provider "woodpecker" {
server = "https://woodpecker.example.com"
token = "token"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Optional
- `server` (String) This is the target Woodpecker CI base API endpoint. It must be provided, but
can also be sourced from the WOODPECKER_SERVER environment
variable.
- `token` (String) A Woodpecker CI Personal Access Token. It must be provided, but
can also be sourced from the WOODPECKER_TOKEN environment
variable.