scalr_vcs_provider
Data Source: scalr_vcs_provider
Retrieves the details of a VCS provider.
Example Usage
data "scalr_vcs_provider" "example1" {
id = "vcs-xxxxxxxxxx"
account_id = "acc-xxxxxxxxxx"
}
data "scalr_vcs_provider" "example2" {
name = "example"
account_id = "acc-xxxxxxxxxx"
}
Schema
Optional
account_id
(String) ID of the account, in the formatacc-<RANDOM STRING>
.agent_pool_id
(String) The id of the agent pool to connect Scalr to self-hosted VCS provider, in the formatapool-<RANDOM STRING>
.draft_pr_runs_enabled
(Boolean) Indicates whether the draft pull-request runs are enabled for this VCS provider.environment_id
(String) ID of the environment the VCS provider has to be linked to, in the formatenv-<RANDOM STRING>
.id
(String) Identifier of the VCS provider.name
(String) Name of the VCS provider.vcs_type
(String) Type of the VCS provider. For example,github
.
Read-Only
environments
(List of String) List of the identifiers of environments the VCS provider is linked to.url
(String) The URL to the VCS provider installation.
Updated 5 months ago