Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price Calculation - Improvements #8

Open
afronski opened this issue Oct 18, 2017 · 3 comments
Open

Price Calculation - Improvements #8

afronski opened this issue Oct 18, 2017 · 3 comments

Comments

@afronski
Copy link
Contributor

afronski commented Oct 18, 2017

Currently AWS API when asked for a price estimation for a CloudFormation template returns link to the AWS Calculator which is not exactly we want. 😉

We would like to have following functionality:

  • Price should be extracted from the web page (AWS calculator) returned from API.
    • With distinction based on resource type.
  • Summing up multiple stacks together in a project.
    • With distinction based on resource type or stack.
@afronski afronski added this to the Cumulus - 2.0 milestone Oct 18, 2017
@afronski afronski changed the title Price Calculation based on CloudFormation Template - Improvements Price Calculation - Improvements Oct 18, 2017
@morfeush22
Copy link
Contributor

@afronski Unfortunately, the site pointed by Amazon is dynamically loaded and can't be easily parsed just by issuing GET. My idea was to run web page via headless browser; for Go two projects tended to be considerable:

surf does not cope with this site (with JavaScript particularly).

webloop has dependencies on WebKitGTK+ (=> pkg-config and so). From my perspective, this will unduly complicate compilation/packaging process.

@afronski
Copy link
Contributor Author

afronski commented Nov 24, 2017

@morfeush22 Thanks! 😄 Indeed - it sounds cumbersome, however - I will not ditch this feature completely, because there is Price List API - it won't be exact quote, but rough estimate: https://aws.amazon.com/blogs/aws/new-aws-price-list-api.

@maxiwoj
Copy link
Contributor

maxiwoj commented Oct 22, 2018

@SylwiaGargula SylwiaGargula self-assigned this Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants