All checks were successful
Setup Terraform / Terraform Versions (push) Successful in 7s
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) | `v0.21.0` -> `v0.22.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>hashicorp/terraform-plugin-docs (github.com/hashicorp/terraform-plugin-docs)</summary> ### [`v0.22.0`](https://github.com/hashicorp/terraform-plugin-docs/releases/tag/v0.22.0) [Compare Source](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.21.0...v0.22.0) BREAKING CHANGES: - generate: The `.ProviderShortName` template function now uses the rendered provider name to derive the provider short name. Users that pass in the `--rendered-provider-name` flag might see a different output for this function ([#​492](https://github.com/hashicorp/terraform-plugin-docs/issues/492)) NOTES: - generate: Generated import documentation will now contain more information about which methods are supported by the provider (CLI command, config by ID, config by identity). ([#​495](https://github.com/hashicorp/terraform-plugin-docs/issues/495)) FEATURES: - generate: Added support for defining import example file (`import-by-string-id.tf`) using Terraform configuration and the `id` attribute ([#​472](https://github.com/hashicorp/terraform-plugin-docs/issues/472)) - generate: Added support for defining import example file (`import-by-identity.tf`) using Terraform configuration and the `identity` attribute (managed resource identity) ([#​496](https://github.com/hashicorp/terraform-plugin-docs/issues/496)) ENHANCEMENTS: - validate: Add `allowed-guide-subcategories` and `allowed-resource-subcategories` to provide a list of allowed subcategories ([#​456](https://github.com/hashicorp/terraform-plugin-docs/issues/456)) - validate: Add `allowed-guide-subcategories-file` and `allowed-resource-subcategories-file` to provide a file containing a list of allowed subcategories ([#​456](https://github.com/hashicorp/terraform-plugin-docs/issues/456)) - generate: Default resource and function templates now use `.RenderedProviderName` instead of `.ProviderName` ([#​492](https://github.com/hashicorp/terraform-plugin-docs/issues/492)) - generate: Remove trailing whitespace from default function template when `.HasVariadic` evaluates to false ([#​489](https://github.com/hashicorp/terraform-plugin-docs/issues/489)) BUG FIXES: - validate: Fixed a bug that caused all non-index files to be detected as guides ([#​456](https://github.com/hashicorp/terraform-plugin-docs/issues/456)) - generate: Remove `subcategory` field from default provider templates ([#​446](https://github.com/hashicorp/terraform-plugin-docs/issues/446)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com> Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/123 Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
Update examples and test pipeline to fix build. Add additional documentation. Update terraform docs. (#112)
Update examples and test pipeline to fix build. Add additional documentation. Update terraform docs. (#112)
Update examples and test pipeline to fix build. Add additional documentation. Update terraform docs. (#112)
terraform-provider-gitea
Terraform Gitea Provider
This repo is mirrored from https://gitea.com/gitea/terraform-provider-gitea please send all issues and pull requests there.
Usage
This is not a 1.0 release, so usage is subject to change!
terraform {
required_providers {
gitea = {
source = "go-gitea/gitea"
version = "0.6.0"
}
}
}
provider "gitea" {
base_url = var.gitea_url # optionally use GITEA_BASE_URL env var
token = var.gitea_token # optionally use GITEA_TOKEN env var
# Username/Password authentication is mutally exclusive with token authentication
# username = var.username # optionally use GITEA_USERNAME env var
# password = var.password # optionally use GITEA_PASSWORD env var
# A file containing the ca certificate to use in case ssl certificate is not from a standard chain
cacert_file = var.cacert_file
# If you are running a gitea instance with self signed TLS certificates
# and you want to disable certificate validation you can deactivate it with this flag
insecure = false
}
resource "gitea_repository" "test" {
username = "lerentis"
name = "test"
private = true
issue_labels = "Default"
license = "MIT"
gitignores = "Go"
}
resource "gitea_repository" "mirror" {
username = "lerentis"
name = "terraform-provider-gitea-mirror"
description = "Mirror of Terraform Provider"
mirror = true
migration_clone_addresse = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git"
migration_service = "gitea"
migration_service_auth_token = var.gitea_mirror_token
}
resource "gitea_org" "test_org" {
name = "test-org"
}
resource "gitea_repository" "org_repo" {
username = gitea_org.test_org.name
name = "org-test-repo"
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
History
This codebase was created at https://gitea.com/gitea/terraform-provider-gitea, was forked by @lerentis, and then their changes were merged back into the original repo. Thank you to everyone who contributed!
Description
Terraform Gitea Provider
https://registry.terraform.io/providers/go-gitea/gitea/latest
Languages
Go
85.2%
HCL
12.8%
Shell
1.1%
Makefile
0.9%