Created
January 15, 2019 15:07
-
-
Save 1ambda/e4338f272ab2114927884c1f815d72ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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