scalr_vcs_provider
Data Source scalr_vcs_provider
scalr_vcs_provider
Retrieves the details of a vcs_provider.
Example Usage
data "scalr_vcs_provider" "example" {
name = "example"
account_id="acc-xxx"
}
Argument Reference
The following arguments are supported:
vcs_type
- (Optional) Type of the VCS provider. For example,github
.name
- (Optional) Name of the VCS provider.environment_id
- (Optional) ID of the environment the VCS provider has to be linked to, in the formatenv-<RANDOM STRING>
.account_id
- (Optional) ID of the account, in the formatacc-<RANDOM STRING>
.
Attribute Reference
All arguments plus:
id
- Identifier of the VCS provider, in the formatvcs-<RANDOM STRING>
.url
- The URL to the VCS provider installation.environments
- List of the identifiers of environments the VCS provider is linked to.
Updated 2 months ago