-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
EC2 instance type discovery #10989
Comments
Reference: #10989 Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSEc2InstanceTypeOfferingsDataSource_Filter (15.95s) --- PASS: TestAccAWSEc2InstanceTypeOfferingsDataSource_LocationType (17.38s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSEc2InstanceTypeOfferingsDataSource_Filter (21.98s) --- PASS: TestAccAWSEc2InstanceTypeOfferingsDataSource_LocationType (23.84s) ```
Reference: #10989 Output from acceptance testing: ``` --- PASS: TestAccAWSEc2InstanceTypeOfferingDataSource_PreferredInstanceTypes (15.95s) --- PASS: TestAccAWSEc2InstanceTypeOfferingDataSource_Filter (17.42s) --- PASS: TestAccAWSEc2InstanceTypeOfferingDataSource_LocationType (19.22s) ```
Submitted new data sources for EC2 Instance Type Offerings: #12139 |
…_type_offerings (#12139) * New Data Source: aws_ec2_instance_type_offerings Reference: #10989 Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSEc2InstanceTypeOfferingsDataSource_Filter (15.95s) --- PASS: TestAccAWSEc2InstanceTypeOfferingsDataSource_LocationType (17.38s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSEc2InstanceTypeOfferingsDataSource_Filter (21.98s) --- PASS: TestAccAWSEc2InstanceTypeOfferingsDataSource_LocationType (23.84s) ``` * New Data Source: aws_ec2_instance_type_offering Reference: #10989 Output from acceptance testing: ``` --- PASS: TestAccAWSEc2InstanceTypeOfferingDataSource_PreferredInstanceTypes (15.95s) --- PASS: TestAccAWSEc2InstanceTypeOfferingDataSource_Filter (17.42s) --- PASS: TestAccAWSEc2InstanceTypeOfferingDataSource_LocationType (19.22s) ```
Two new data sources:
Have been merged and will release with version 2.52.0 of the Terraform AWS Provider, Thursday this week. Leaving this open for |
I noticed in #12139 that the return values are mostly focused on It is useful seeing what AZs are available for a given instance type within a region: M4.xlarge in us-east-1 where as M5.xlarge One could imagine, through some hop jumping, you can get all AZs in a region, fetch the AZs for your instance type and then find the delta and pass into the blacklist for |
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
Amazon EC2 makes it easier for customers to discover and compare EC2 instance types.
Customers can programmatically access instance type specifications using new APIs:
DescribeInstanceType
s andDescribeInstanceTypeOfferings
.New or Affected Resource(s)
aws_instance_types
aws_instance_type
Potential Terraform Configuration
References
Announcement.
User guide.
API references:
DescribeInstanceTypes
DescribeInstanceTypeOfferings
Requires AWS SDK v1.25.41:
The text was updated successfully, but these errors were encountered: