generated by https://github.com/hashicorp/terraform-plugin-docs

page_title: “devlake_github_connection_scopeconfig Resource - devlake” subcategory: "" description: |-


devlake_github_connection_scopeconfig (Resource)

Schema

Required

  • connection_id (String) The connection id of the connection this scope config belongs to.
  • name (String) The name of the scope config.

Optional

  • deployment_pattern (String) Convert a GitHub workflow run as a DevLake Deployment when: The name of the GitHub workflow run or one of its jobs matches this pattern.
  • entities (List of String) The entities this scope config uses, e.g. ‘CODEREVIEW’, ‘CROSS’ or ‘CODE’. See the documentation for the meaning of the individual values.
  • env_name_pattern (String) If its environment name matches this pattern, this deployment is a ‘Production Deployment’.
  • issue_component (String) This looks like an error in the API, the webinterface doesn't provide a field for this.
  • issue_priority (String) This looks like an error in the API, the webinterface doesn't provide a field for this.
  • issue_severity (String) This looks like an error in the API, the webinterface doesn't provide a field for this.
  • issue_type_bug (String) This looks like an error in the API, the webinterface doesn't provide a field for this.
  • issue_type_incident (String) This looks like an error in the API, the webinterface doesn't provide a field for this.
  • issue_type_requirement (String) This looks like an error in the API, the webinterface doesn't provide a field for this.
  • pr_body_close_pattern (String) Connect entities across domains to measure metrics such as Bug Count per 1k Lines of Code. Connect PRs and Issues with the following pattern.
  • pr_component (String) Text (PR body) that matches the RegEx will be set as the component of the pull request.
  • pr_type (String) Text (PR title) that matches the RegEx will be set as the type of a pull request.
  • ref_diff (Attributes) Calculate the commits diff between two consecutive tags that match the following RegEx. Issues closed by PRs which contain these commits will also be calculated. The result will be shown in table.refs_commits_diffs and table.refs_issues_diffs. (see below for nested schema)

Read-Only

  • created_at (String) When the scope config was created in devlake.
  • id (String) Numeric identifier for the connection scopeconfig. This is a string for easier resource import.
  • last_updated (String) Timestamp of the last Terraform update of the scope config.
  • production_pattern (String) Convert a GitHub workflow run as a DevLake Deployment when: If the name or its branch’s name also matches this pattern, this deployment is a ‘Production Deployment’. Use only with ‘deployment_pattern’.
  • updated_at (String) When the connection was updated in devlake.

Nested Schema for ref_diff

Optional:

  • tags_limit (Number) Compare the last number of tags.
  • tags_pattern (String) Matching tags are included in the calculation.