Retrieves pricing information for an Amazon EC2 instance with specific attributes in the US East (N. Virginia) region.

Terraform Template

data "aws_pricing_product" "example" {
  filters = ["instanceType", "c5.xlarge", "operatingSystem", "Linux", "location", "US East (N. Virginia)", "preInstalledSw", "NA", "licenseModel", "No License required", "tenancy", "Shared", "capacitystatus", "Used"]
  service_code = "AmazonEC2"
}