Skip to main content

Azure

Please note:

  1. Microsoft Azure GovCloud regions are also supported.
  2. Free trials and free tiers, which are usually not a significant part of cloud costs, are ignored. This because Infracost can only see the Terraform projects it is run against but free tiers are account-wide and there are often multiple Terraform projects in an account.
  3. On-demand prices are used by default.

Please create a GitHub issue if the resource you want isn't supported or your cost estimate looks wrong.

There are Terraform resources that Infracost supports, and Azure charges for.

Service nameTerraform resourcesNotes
Attestationazurerm_attestation_provider
Active Directory Domain Servicesazurerm_active_directory_domain_service
API Managementazurerm_api_management
App Serviceazurerm_app_service_certificate_binding, azurerm_app_service_certificate_order, azurerm_app_service_custom_hostname_binding, azurerm_app_service_environment, azurerm_app_service_plan, azurerm_service_plan
Application Gatewayazurerm_application_gateway
Automationazurerm_automation_account, azurerm_automation_dsc_configuration, azurerm_automation_dsc_nodeconfiguration, azurerm_automation_job_schedule
Backupazurerm_recovery_services_vault, azurerm_backup_protected_vm
Bastionazurerm_bastion_host
Cache for Redisazurerm_redis_cache
Cognitive Searchazurerm_search_service
Container Registryazurerm_container_registry
Content Delivery Network (CDN)azurerm_cdn_endpoint
Cosmos DBazurerm_cosmosdb_cassandra_keyspace, azurerm_cosmosdb_cassandra_table, azurerm_cosmosdb_gremlin_database, azurerm_cosmosdb_gremlin_graph, azurerm_cosmosdb_mongo_collection, azurerm_cosmosdb_mongo_database, azurerm_cosmosdb_sql_container, azurerm_cosmosdb_sql_database, azurerm_cosmosdb_table
Data Factoryazurerm_data_factory, azurerm_data_factory_integration_runtime_azure, azurerm_data_factory_integration_runtime_azure_ssis, azurerm_data_factory_integration_runtime_managed, azurerm_data_factory_integration_runtime_self_hosted
Databaseazurerm_mariadb_server, azurerm_mssql_database, azurerm_mssql_managed_instance, azurerm_mysql_flexible_server, azurerm_mysql_server, azurerm_postgresql_flexible_server, azurerm_postgresql_server, azurerm_sql_database, azurerm_sql_managed_instance
Databricks workspaceazurerm_databricks_workspace
Defender for Cloudazurerm_security_center_subscription_pricingUsage file support. Cloud Security Posture Management (CSPM) prices are not available.
DNSazurerm_dns_zone, azurerm_private_dns_zone, azurerm_dns_a_record, azurerm_dns_aaaa_record, azurerm_dns_caa_record, azurerm_dns_cname_record, azurerm_dns_mx_record, azurerm_dns_ns_record, azurerm_dns_ptr_record, azurerm_dns_srv_record, azurerm_dns_txt_record, azurerm_private_dns_a_record, azurerm_private_dns_aaaa_record, azurerm_private_dns_cname_record, azurerm_private_dns_mx_record, azurerm_private_dns_ptr_record, azurerm_private_dns_srv_record, azurerm_private_dns_txt_record, azurerm_private_dns_resolver, azurerm_private_dns_resolver_outbound_endpoint, azurerm_private_dns_resolver_inbound_endpoint, azurerm_private_dns_resolver_dns_forwarding_ruleset
Event Gridazurerm_eventgrid_system_topic, azurerm_eventgrid_topic
Event Hubsazurerm_eventhub_namespacePremium namespaces are not supported by Terraform.
Firewallazurerm_firewall
Front Doorazurerm_frontdoor, azurerm_frontdoor_firewall_policy
Functionsazurerm_function_app, azurerm_linux_function_app, azurerm_windows_function_app
HDInsightazurerm_hdinsight_hadoop_cluster, azurerm_hdinsight_hbase_cluster, azurerm_hdinsight_interactive_query_cluster, azurerm_hdinsight_kafka_cluster, azurerm_hdinsight_spark_cluster
IoT Hubazurerm_iothub, azurerm_iothub_dps
Key Vaultazurerm_key_vault_certificate, azurerm_key_vault_key, azurerm_key_vault_managed_hardware_security_module
Kubernetes Service (AKS)azurerm_kubernetes_cluster, azurerm_kubernetes_cluster_node_pool
Load Balancerazurerm_lb, azurerm_lb_rule, azurerm_lb_outbound_rule
Logic Appsazurerm_integration_service_environment
Machine Learningazurerm_machine_learning_compute_instance, azurerm_machine_learning_compute_cluster
Monitorazurerm_application_insights, azurerm_application_insights_standard_web_test, azurerm_application_insights_web_test, azurerm_log_analytics_workspace, azurerm_monitor_action_group, azurerm_monitor_data_collection_rule, azurerm_monitor_diagnostic_setting, azurerm_monitor_metric_alert, azurerm_monitor_scheduled_query_rules_alert, azurerm_monitor_scheduled_query_rules_alert_v2
Network Watcherazurerm_network_connection_monitor, azurerm_network_watcher, azurerm_network_watcher_flow_logConnection Monitor (classic) and Network Performance Monitors are not supported since they are deprecated and are not supported by Terraform
Notification Hubsazurerm_notification_hub_namespace
Service Busazurerm_servicebus_namespace
SignalRazurerm_signalr_service
Storage Accountazurerm_storage_account, azure_storage_queue, azure_storage_shareTable Storage, Data Lake Storage Gen2, File Sync and Encryption Scopes for Blob Storage are not yet supported.
Synapse Analyticsazurerm_synapse_spark_pool, azurerm_synapse_sql_pool, azurerm_synapse_workspaceThe total costs consist of several resources that should be viewed as a whole.
Traffic Managerazurerm_traffic_manager_azure_endpoint, azurerm_traffic_manager_external_endpoint, azurerm_traffic_manager_nested_endpoint, azurerm_traffic_manager_profile
Virtual Machinesazurerm_linux_virtual_machine, azurerm_managed_disk, azurerm_virtual_machine, azurerm_windows_virtual_machine, azurerm_image, azurerm_snapshotNon-standard images such as RHEL are not supported. Low priority, Spot and Reserved instances are not supported.
Virtual Machine Scale Setsazurerm_linux_virtual_machine_scale_set, azurerm_virtual_machine_scale_set, azurerm_windows_virtual_machine_scale_set
Virtual Network / PrivateLinkazurerm_private_endpoint, azurerm_public_ip, azurerm_public_ip_prefix, azurerm_nat_gateway, azurerm_virtual_network_peering
VPN Gatewayazurerm_virtual_network_gateway
Virtual WANazurerm_virtual_hub, azurerm_vpn_gateway, azurerm_point_to_site_vpn_gateway, azurerm_express_route_gateway, azurerm_vpn_gateway_connection, azurerm_express_route_connectionNVA Infrastructure Unit, Routing Infrastructure Unit and Secured Virtual WAN with Firewall are currently not supported.

Free resources

There are Terraform resources that Infracost supports, and we classify as free.

Terraform resources
azurerm_api_management_api_diagnostic
azurerm_api_management_api_operation_policy
azurerm_api_management_api_operation
azurerm_api_management_api_policy
azurerm_api_management_api_schema
azurerm_api_management_api_version_set
azurerm_api_management_api
azurerm_api_management_authorization_server
azurerm_api_management_backend
azurerm_api_management_certificate
azurerm_api_management_custom_domain
azurerm_api_management_diagnostic
azurerm_api_management_email_template
azurerm_api_management_group_user
azurerm_api_management_group
azurerm_api_management_identity_provider_aad
azurerm_api_management_identity_provider_aadb2c
azurerm_api_management_identity_provider_facebook
azurerm_api_management_identity_provider_google
azurerm_api_management_identity_provider_microsoft
azurerm_api_management_identity_provider_twitter
azurerm_api_management_logger
azurerm_api_management_named_value
azurerm_api_management_openid_connect_provider
azurerm_api_management_policy
azurerm_api_management_product_api
azurerm_api_management_product_group
azurerm_api_management_product_policy
azurerm_api_management_product
azurerm_api_management_property
azurerm_api_management_subscription
azurerm_api_management_user
azurerm_app_service_active_slot
azurerm_app_service_certificate
azurerm_app_service_managed_certificate
azurerm_app_service_slot_virtual_network_swift_connection
azurerm_app_service_slot
azurerm_app_service_source_control_token
azurerm_app_service_virtual_network_swift_connection
azurerm_app_service
azurerm_application_insights_analytics_item
azurerm_application_insights_api_key
azurerm_application_insights_smart_detection_rule
azurerm_application_insights_workbook
azurerm_application_insights_workbook_template
azurerm_application_security_group
azurerm_automation_certificate
azurerm_automation_connection_certificate
azurerm_automation_connection_classic_certificate
azurerm_automation_connection_service_principal
azurerm_automation_connection
azurerm_automation_connection_type
azurerm_automation_credential
azurerm_automation_hybrid_runbook_worker
azurerm_automation_hybrid_runbook_worker_group
azurerm_automation_module
azurerm_automation_runbook
azurerm_automation_schedule
azurerm_automation_software_update_configuration
azurerm_automation_source_control
azurerm_automation_variable_bool
azurerm_automation_variable_datetime
azurerm_automation_variable_int
azurerm_automation_variable_string
azurerm_automation_webhook
azurerm_availability_set
azurerm_backup_policy_file_share
azurerm_backup_policy_vm
azurerm_blueprint_assignment
azurerm_cdn_profile
azurerm_consumption_budget_management_group
azurerm_consumption_budget_resource_group
azurerm_consumption_budget_subscription
azurerm_container_registry_scope_map
azurerm_container_registry_token
azurerm_container_registry_webhook
azurerm_cosmosdb_account
azurerm_cosmosdb_notebook_workspace
azurerm_cosmosdb_sql_stored_procedure
azurerm_cosmosdb_sql_trigger
azurerm_cosmosdb_sql_user_defined_function
azurerm_cost_anomaly_alert
azurerm_cost_management_scheduled_action
azurerm_dashboard
azurerm_data_factory_custom_dataset
azurerm_data_factory_data_flow
azurerm_data_factory_dataset_azure_blob
azurerm_data_factory_dataset_binary
azurerm_data_factory_dataset_cosmosdb_sqlapi
azurerm_data_factory_dataset_delimited_text
azurerm_data_factory_dataset_http
azurerm_data_factory_dataset_json
azurerm_data_factory_dataset_mysql
azurerm_data_factory_dataset_parquet
azurerm_data_factory_dataset_postgresql
azurerm_data_factory_dataset_snowflake
azurerm_data_factory_dataset_sql_server_table
azurerm_data_factory_linked_custom_service
azurerm_data_factory_linked_service_azure_blob_storage
azurerm_data_factory_linked_service_azure_databricks
azurerm_data_factory_linked_service_azure_file_storage
azurerm_data_factory_linked_service_azure_function
azurerm_data_factory_linked_service_azure_search
azurerm_data_factory_linked_service_azure_sql_database
azurerm_data_factory_linked_service_azure_table_storage
azurerm_data_factory_linked_service_cosmosdb_mongoapi
azurerm_data_factory_linked_service_cosmosdb
azurerm_data_factory_linked_service_data_lake_storage_gen2
azurerm_data_factory_linked_service_key_vault
azurerm_data_factory_linked_service_kusto
azurerm_data_factory_linked_service_mysql
azurerm_data_factory_linked_service_odata
azurerm_data_factory_linked_service_odbc
azurerm_data_factory_linked_service_postgresql
azurerm_data_factory_linked_service_sftp
azurerm_data_factory_linked_service_snowflake
azurerm_data_factory_linked_service_sql_server
azurerm_data_factory_linked_service_synapse
azurerm_data_factory_linked_service_web
azurerm_data_factory_managed_private_endpoint
azurerm_data_factory_pipeline
azurerm_data_factory_trigger_blob_event
azurerm_data_factory_trigger_custom_event
azurerm_data_factory_trigger_schedule
azurerm_data_factory_tumbling_window
azurerm_eventgrid_domain
azurerm_eventgrid_event_subscription
azurerm_eventgrid_system_topic_event_subscription
azurerm_eventhub_authorization_rule
azurerm_eventhub_cluster
azurerm_eventhub_consumer_group
azurerm_eventhub_namespace_authorization_rule
azurerm_eventhub_namespace_customer_managed_key
azurerm_eventhub_namespace_disaster_recovery_config
azurerm_eventhub
azurerm_firewall_application_rule_collection
azurerm_firewall_nat_rule_collection
azurerm_firewall_network_rule_collection
azurerm_firewall_policy_rule_collection_group
azurerm_firewall_policy
azurerm_frontdoor_custom_https_configuration
azurerm_frontdoor_rules_engine
azurerm_iothub_certificate
azurerm_iothub_consumer_group
azurerm_iothub_dps_certificate
azurerm_iothub_dps_shared_access_policy
azurerm_iothub_enrichment
azurerm_iothub_endpoint_eventhub
azurerm_iothub_route
azurerm_iothub_shared_access_policy
azurerm_ip_group
azurerm_key_vault_access_policy
azurerm_key_vault_certificate_data
azurerm_key_vault_certificate_issuer
azurerm_key_vault_secret
azurerm_key_vault
azurerm_lb_backend_address_pool_address
azurerm_lb_backend_address_pool
azurerm_lb_nat_pool
azurerm_lb_nat_rule
azurerm_lb_probe
azurerm_lighthouse_assignment
azurerm_lighthouse_definition
azurerm_local_network_gateway
azurerm_logic_app_action_custom
azurerm_logic_app_action_http
azurerm_logic_app_integration_account_agreement
azurerm_logic_app_integration_account_assembly
azurerm_logic_app_integration_account_batch_configuration
azurerm_logic_app_integration_account_certificate
azurerm_logic_app_integration_account_map
azurerm_logic_app_integration_account_partner
azurerm_logic_app_integration_account_schema
azurerm_logic_app_integration_account_session
azurerm_logic_app_standard
azurerm_logic_app_trigger_custom
azurerm_logic_app_trigger_http_request
azurerm_logic_app_trigger_recurrence
azurerm_logic_app_workflow
azurerm_log_analytics_cluster_customer_managed_key
azurerm_log_analytics_data_export_rule
azurerm_log_analytics_datasource_windows_event
azurerm_log_analytics_datasource_windows_performance_counter
azurerm_log_analytics_linked_service
azurerm_log_analytics_linked_storage_account
azurerm_log_analytics_query_pack
azurerm_log_analytics_query_pack_query
azurerm_log_analytics_saved_search
azurerm_log_analytics_solution
azurerm_log_analytics_storage_insights
azurerm_machine_learning_workspace
azurerm_managed_application_definition
azurerm_managed_application
azurerm_management_group_policy_assignment
azurerm_management_group_subscription_association
azurerm_management_group
azurerm_management_lock
azurerm_mariadb_configuration
azurerm_mariadb_database
azurerm_mariadb_firewall_rule
azurerm_mariadb_virtual_network_rule
azurerm_marketplace_agreement
azurerm_monitor_aad_diagnostic_setting
azurerm_monitor_action_rule_action_group
azurerm_monitor_action_rule_suppression
azurerm_monitor_activity_log_alert
azurerm_monitor_alert_processing_rule_action_group
azurerm_monitor_alert_processing_rule_suppression
azurerm_monitor_autoscale_setting
azurerm_monitor_data_collection
azurerm_monitor_data_collection_rule_association
azurerm_monitor_log_profile
azurerm_monitor_private_link_scope
azurerm_monitor_private_link_scoped_service
azurerm_monitor_scheduled_query_rules_log
azurerm_monitor_smart_detector_alert_rule
azurerm_mssql_database_extended_auditing_policy
azurerm_mssql_database_vulnerability_assessment_rule_baseline
azurerm_mssql_failover_group
azurerm_mssql_firewall_rule
azurerm_mssql_job_agent
azurerm_mssql_job_credential
azurerm_mssql_managed_instance_active_directory_administrator
azurerm_mssql_managed_instance_security_alert_policy
azurerm_mssql_managed_instance_transparent_data_encryption
azurerm_mssql_managed_instance_vulnerability_assessment
azurerm_mssql_outbound_firewall_rule
azurerm_mssql_server_dns_alias
azurerm_mssql_server_extended_auditing_policy
azurerm_mssql_server_microsoft_support_auditing_policy
azurerm_mssql_server_security_alert_policy
azurerm_mssql_server_transparent_data_encryption
azurerm_mssql_server_vulnerability_assessment
azurerm_mssql_server
azurerm_mssql_virtual_network_rule
azurerm_mysql_active_directory_administrator
azurerm_mysql_configuration
azurerm_mysql_database
azurerm_mysql_firewall_rule
azurerm_mysql_flexible_database
azurerm_mysql_flexible_server_configuration
azurerm_mysql_flexible_server_firewall_rule
azurerm_mysql_server_key
azurerm_mysql_virtual_network_rule
azurerm_nat_gateway_public_ip_association
azurerm_nat_gateway_public_ip_prefix_association
azurerm_network_interface_application_gateway_backend_address_pool_association
azurerm_network_interface_application_security_group_association
azurerm_network_interface_backend_address_pool_association
azurerm_network_interface_nat_rule_association
azurerm_network_interface_security_group_association
azurerm_network_interface
azurerm_network_security_group
azurerm_network_security_rule
azurerm_notification_hub
azurerm_policy_assignment
azurerm_policy_definition
azurerm_policy_remediation
azurerm_policy_set_definition
azurerm_portal_dashboard
azurerm_postgresql_active_directory_administrator
azurerm_postgresql_configuration
azurerm_postgresql_database
azurerm_postgresql_firewall_rule
azurerm_postgresql_flexible_server_active_directory_administrator
azurerm_postgresql_flexible_server_configuration
azurerm_postgresql_flexible_server_database
azurerm_postgresql_flexible_server_firewall_rule
azurerm_postgresql_server_key
azurerm_postgresql_virtual_network_rule
azurerm_private_dns_zone_virtual_network_link
azurerm_private_link_service
azurerm_proximity_placement_group
azurerm_redis_firewall_rule
azurerm_redis_linked_server
azurerm_relay_hybrid_connection_authorization_rule
azurerm_relay_namespace_authorization_rule
azurerm_resource_group
azurerm_resource_group_cost_management_export
azurerm_resource_group_cost_management_view
azurerm_resource_provider_registration
azurerm_role_assignment
azurerm_role_definition
azurerm_route_filter
azurerm_route_map
azurerm_route_table
azurerm_route
azurerm_security_center_automation
azurerm_security_center_server_vulnerability_assessment
azurerm_security_center_assessment
azurerm_security_center_assessment_policy
azurerm_security_center_auto_provisioning
azurerm_security_center_automation
azurerm_security_center_contact
azurerm_security_center_server_vulnerability_assessment_virtual_machine
azurerm_security_center_setting
azurerm_security_center_workspace
azurerm_sentinel_alert_rule_fusion
azurerm_sentinel_alert_rule_machine_learning_behavior_analytics
azurerm_sentinel_alert_rule_ms_security_incident
azurerm_sentinel_alert_rule_scheduled
azurerm_sentinel_data_connector_aws_cloud_trail
azurerm_sentinel_data_connector_azure_active_directory
azurerm_sentinel_data_connector_azure_advanced_threat_protection
azurerm_sentinel_data_connector_azure_security_center
azurerm_sentinel_data_connector_microsoft_cloud_app_security
azurerm_sentinel_data_connector_microsoft_defender_advanced_threat_protection
azurerm_sentinel_data_connector_office_365
azurerm_sentinel_data_connector_threat_intelligence
azurerm_servicebus_namespace_authorization_rule
azurerm_servicebus_namespace_disaster_recovery_config
azurerm_servicebus_namespace_network_rule_set
azurerm_servicebus_queue
azurerm_servicebus_queue_authorization_rule
azurerm_servicebus_subscription
azurerm_servicebus_subscription_rule
azurerm_servicebus_topic
azurerm_servicebus_topic_authorization_rule
azurerm_shared_image_gallery
azurerm_shared_image
azurerm_signalr_service_network_acl
azurerm_signalr_shared_private_link
azurerm_site_recovery_network_mapping
azurerm_site_recovery_replication_policy
azurerm_sql_failover_group
azurerm_sql_firewall_rule
azurerm_sql_server
azurerm_sql_virtual_network_rule
azurerm_ssh_public_key
azurerm_storage_account_customer_managed_key
azurerm_storage_account_local_user
azurerm_storage_account_network_rules
azurerm_storage_blob
azurerm_storage_blob_inventory_policy
azurerm_storage_container
azurerm_storage_data_lake_gen2_path
azurerm_storage_management_policy
azurerm_storage_object_replication
azurerm_storage_share_directory
azurerm_storage_share_file
azurerm_storage_sync_cloud_endpoint
azurerm_storage_sync_group
azurerm_storage_table_entity
azurerm_subnet_nat_gateway_association
azurerm_subnet_network_security_group_association
azurerm_subnet_route_table_association
azurerm_subnet_service_endpoint_storage_policy
azurerm_subnet
azurerm_subscription
azurerm_subscription_cost_management_export
azurerm_subscription_cost_management_view
azurerm_subscription_policy_assignment
azurerm_subscription_policy_exemption
azurerm_subscription_policy_remediation
azurerm_synapse_firewall_rule
azurerm_synapse_private_link_hub
azurerm_user_assigned_identity
azurerm_virtual_desktop_application_group
azurerm_virtual_desktop_application
azurerm_virtual_desktop_host_pool
azurerm_virtual_desktop_workspace_application_group_association
azurerm_virtual_desktop_workspace
azurerm_virtual_hub_connection
azurerm_virtual_hub_route_table
azurerm_virtual_hub_route_table_route
azurerm_virtual_machine_data_disk_attachment
azurerm_virtual_machine_extension
azurerm_virtual_machine_scale_set_extension
azurerm_virtual_network
azurerm_virtual_network_dns_servers
azurerm_virtual_wan
azurerm_vpn_server_configuration
azurerm_web_application_firewall_policy