The gitlab_service_custom_issue_tracker
resource allows to manage the lifecycle of a project integration with Custom Issue Tracker.
Upstream API: GitLab REST API docs
resource "gitlab_project" "awesome_project" {
name = "awesome_project"
description = "My awesome project."
visibility_level = "public"
}
resource "gitlab_service_custom_issue_tracker" "tracker" {
project = gitlab_project.awesome_project.id
project_url = "https://customtracker.com/issues"
issues_url = "https://customtracker.com/TEST-:id"
}
issues_url
(String) The URL to view an issue in the external issue tracker. Must contain :id.project
(String) The ID or full path of the project for the custom issue tracker.project_url
(String) The URL to the project in the external issue tracker.active
(Boolean) Whether the integration is active.created_at
(String) The ISO8601 date/time that this integration was activated at in UTC.id
(String) The ID of this Terraform resource. In the format of <project>
.slug
(String) The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.updated_at
(String) The ISO8601 date/time that this integration was last updated at in UTC.Import is supported using the following syntax:
# You can import a gitlab_service_custom_issue_tracker state using the project ID, e.g.
terraform import gitlab_service_custom_issue_tracker.tracker 1