Data Source: aws_ec2_instance_type_offerings

Information about EC2 Instance Type Offerings.

Example Usage

data "aws_ec2_instance_type_offerings" "example" {
  filter {
    name   = "instance-type"
    values = ["t2.micro", "t3.micro"]
  }

  filter {
    name   = "location"
    values = ["usw2-az4"]
  }

  location_type = "availability-zone-id"
}

Argument Reference

This data source supports the following arguments:

filter Argument Reference

Attribute Reference

This data source exports the following attributes in addition to the arguments above:

Note that the indexes of Instance Type Offering instance types, locations and location types correspond.

Timeouts

Configuration options: