scalr_vcs_provider

Data Source: scalr_vcs_provider

Retrieves information about VCS provider.

Example Usage

data "scalr_vcs_provider" "example1" {
  id = "vcs-xxxxxxxxxx"
}

data "scalr_vcs_provider" "example2" {
  name = "example"
}

Schema

Optional

  • account_id (String, Deprecated) The identifier of the Scalr account.
  • agent_pool_id (String) The ID of the agent pool to connect Scalr to self-hosted VCS provider, in the format apool-<RANDOM STRING>.
  • draft_pr_runs_enabled (Boolean, Deprecated) Indicates whether the draft pull-request runs are enabled for this VCS provider.
  • environment_id (String) The ID of the environment the VCS provider has to be linked to, in the format env-<RANDOM STRING>.
  • id (String) The identifier of the VCS provider.
  • name (String) The name of the VCS provider.
  • vcs_type (String) The type of the VCS provider. For example, github.

Read-Only

  • environments (Set of String) List of the identifiers of the environments the VCS provider is linked to.
  • url (String) The URL to the VCS provider installation.