Supported resources

Currently Infracost supports the following Terraform resources on AWS.

Support for the following is not currently included:

  • any costs that are not specified in the Terraform configuration, e.g. S3 storage costs, data out costs.
  • Any non On-Demand pricing, such as Reserved Instances.
Terraform resourceNotes
aws_autoscaling_group
aws_db_instance
aws_docdb_cluster_instance
aws_dynamodb_tableProvisioned capacity mode only.
aws_ebs_snapshot_copy
aws_ebs_snapshot
aws_ebs_volume
aws_ecs_serviceFargate on-demand only.
aws_elb
aws_elasticsearch_domain
aws_instanceNon-Linux EC2 instances such as Windows and RHEL are not supported, a lookup is needed to find the OS of AMIs.
aws_lambda_functionProvisioned concurrency is not yet supported.
aws_lb / aws_alb
aws_nat_gateway
aws_rds_cluster_instance
aws_rds_cluster

The resource I want isn't supported

We're regularly adding support for new Terraform AWS resources - be sure to watch the repo for new releases! We plan to add support for more cloud vendors (GCP, Azure) and other IaC tools (Pulumi) too.

You can help by:

  1. Creating an issue and mentioning the resource you need and a little about your use-case; we'll try to prioritize it depending on the community feedback.
  2. Contributing to Infracost, we're working on making it easier to add new resources. You can join our Discord community if you need help contributing.