-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
aws_ec2_instance_type_offerings should have an attribute for location_types and locations #15272
Comments
I've submitted PR #17794 which adds these fields to the data. Please go give it a thumbs up if you want this feature. I have need of the feature to dynamically choose which availability zones are used in a cluster based on the instance type chosen for the cluster. Right now, I'm just crossing my fingers that the first 2 randomly chosen AZs support my chosen instance type, and if they don't, deleting and trying again. The instance type I've been testing with is supported in all but one of the AZs in us-east-1, which has been fine for testing, but I'm nearing production on my module, so I need this badly enough to do it myself. |
Closed via #16704. |
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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.13.3
Affected Resource(s)
aws_ec2_instance_type_offerings
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
I expect to get all the attributes including LocationTypes and Locations from the datasource
Actual Behavior
There is no way to get to the LocationTypes and Locations data returned by an aws_ec2_instance_type_offering datasource.
Steps to Reproduce
terraform init
terraform apply
Important Factoids
I'm using us-west-2 because the t2.micro is only supported in us-west-2a, us-west-2b, and us-west-2c but there is also a us-west-2d az
The text was updated successfully, but these errors were encountered: