scalr_provider_configuration
Data Source scalr_provider_configuration
scalr_provider_configuration
Retrieves the id of a single provider configuration by name or type.
Example Usage
data "scalr_provider_configuration" "aws_dev" {
name = "aws_dev"
}
data "scalr_provider_configuration" "azure" {
provider_name = "azurerm"
}
Argument Reference
The following arguments are supported:
name
- (Optional) The name of a Scalr provider configuration.provider_name
- (Optional) The name of a Terraform provider.account_id
- (Optional) The identifier of the Scalr account, in the formatacc-<RANDOM STRING>
.
Attribute Reference
All arguments plus:
id
- The provider configuration ID, in the formatpcfg-xxxxxxxxxxx
.
Import
To import provider configurations use the ID as the import ID. For example:
terraform import scalr_provider_configuration.example pcfg-123456789
Updated about 2 months ago