streamtime_fleet_configuration_profile (Data Source)
Describes the placement and advanced settings one fleet provider takes, to write a fleet’s placement_config and advanced_config. The cloud account must exist first: some choices come from it.
Example Usage
data "streamtime_fleet_configuration_profile" "aws" {
fleet_provider = "aws"
}
# The settings a fleet's placement_config takes on this provider.
output "aws_placement_settings" {
value = keys(jsondecode(data.streamtime_fleet_configuration_profile.aws.placement_schema).json_schema.properties)
}
Schema
Required
fleet_provider(String) The fleet provider, for example aws.
Read-Only
advanced_config_schema(String) The advanced settings’ schema for an empty placement, as JSON. For some providers it depends on the placement and holds only a detail message.placement_schema(String) The placement settings’ schema, as JSON (use jsondecode()).