Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
locals {
spot_default_factor = 0.8
spot_on_demand_price_r5xlarge = 0.304
spot_bid_price_r5xlarge = "${format("%.2f", __builtin_StringToFloat(local.spot_on_demand_price_r5xlarge) * __builtin_StringToFloat(local.spot_default_factor))}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.