terraform-provider-youtrack

command module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

README

terraform-provider-youtrack

OpenTofu provider for YouTrack to manage settings, roles, custom fields, and project templates.

This software is licensed under the Mozilla Public License 2.0 (MPL-2.0). See the LICENSE file for details.

Provider Source

Use the provider from the OpenTofu registry as:

terraform {
  required_providers {
    youtrack = {
      source = "elcait/youtrack"
    }
  }
}

CI

GitHub Actions workflow ci.yml runs:

  • Unit tests with coverage
  • golangci-lint
  • SonarQube analysis (when SONAR_TOKEN is configured)

Release

GitHub Actions workflow release.yml runs on tags matching v* and publishes release artifacts through GoReleaser.

Required repository secrets:

  • GPG_PRIVATE_KEY
  • PASSPHRASE

Optional for CI SonarQube analysis:

  • SONAR_TOKEN

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
go install

Run tests locally

make test

Generate Documentation

To generate or update documentation, run the following command in the repository directory:

make generate

Adding Dependencies

This provider uses Go 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:

go get github.com/author/dependency
go mod tidy

Then commit the changes to go.mod and go.sum.

Using the provider

See documentation for the provider and its resources in the docs directory.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run make generate.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

make testacc

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL