User can click a button to get an estimate of the monthly cost of a template after it has been filled out, if the template is not filled out show the usual render errors about missing value for CLUSTER_NAME etc.
Tasks breakdown
Displaying the feature
[x] As we can show and hide profiles / credentials #1626 we want to add another optional section:
templates.weave.works/cost-estimation-enabled to show / hide this section. false by default
Interaction
[x] Add a button "Calculate estimate" which will call RenderTemplate on the BE and show the results
[x] Preview/render takes a second so show a spinner while requesting
[x] Any rendering error like "CLUSTER_NAME" not defined, should still be displayed so the user can fix them up
[x] Button should remain on the screen for user to click it again to re-estimate.
User can click a button to get an estimate of the monthly cost of a template after it has been filled out, if the template is not filled out show the usual render errors about missing value for
CLUSTER_NAME
etc.Tasks breakdown
Displaying the feature
templates.weave.works/cost-estimation-enabled
to show / hide this section.false
by defaultInteraction
Showing estimate
.range
:.range
as 76 - 90 USDUI Polish that would be nice
Appendix
For the curious, here are the supported currency values https://aws.amazon.com/premiumsupport/knowledge-center/supported-aws-currencies/