title | categorySlug | slug | parentDocSlug | hidden | order |
---|---|---|---|---|---|
scalr_vcs_provider |
scalr-terraform-provider |
provider_datasource_scalr_vcs_provider |
provider_datasources |
false |
19 |
Retrieves the details of a VCS provider.
data "scalr_vcs_provider" "example1" {
id = "vcs-xxxxxxxxxx"
account_id = "acc-xxxxxxxxxx"
}
data "scalr_vcs_provider" "example2" {
name = "example"
account_id = "acc-xxxxxxxxxx"
}
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
.
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.