-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
data aws_pricing_instance #5009
Comments
From a maintainability standpoint, we may want to consider implementing this with the generic filtering as there are a lot of dimensions associated even with only the
|
What about a generic product resource and a more precise one that uses the other ones methods. From a usability standpoint, generic filtering is so-so. I was going to implement a few of the more important attributes such as tenancy. |
I would personally worry that everyone's definition of important might be different. That's not to say we would never accept something very targeted for a specific use case, but in the end it might just turn into implementing everything, which seems like a large burden. Implementing the generic resource allows us to provide the customizable building block for others to build Terraform modules on top of the functionality if they so desire, rather than this project needing to worry about all the use cases. |
Alright, I understand what you mean. I'll try to figure out a simple way to manipulate the API in a generic way. |
A new |
This has been released in version 1.26.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
Hi, I currently have a python script that retrieves the on-demand price of an ec2 instance with the pricing api that I'd like to use in a terraform context (setting a spot_price that is a fraction of on-demand). It has the following parameters: instance_type string, region string, os string (linux or windows). Would this be an appropriate feature for terraform? I'd implement it myself.
New or Affected Resource(s)
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: