forked from infracost/infracost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
infracost-usage-example.yml
525 lines (437 loc) · 30.9 KB
/
infracost-usage-example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# You can use this file to define resource usage estimates for Infracost to use when calculating
# the cost of usage-based resource, such as AWS Lambda.
# `infracost breakdown --usage-file infracost-usage.yml [other flags]`
# See https://infracost.io/usage-file/ for docs
version: 0.1
resource_usage:
# Usage for resources inside modules can be specified using the full path of the resource.
# This is the same value as Infracost outputs in the Name column, for example:
#
# module.my_module.aws_dynamodb_table.my_table:
# storage_gb: 1000
# module.lambda_function.aws_lambda_function.this[0]:
# monthly_requests: 20000
# request_duration_ms: 600
#
# The wildcard character `[*]` can be used for an array of resources. Infracost will apply
# the usage values individually to each element of the array. If an array element
# (e.g. `this[0]`) and `[*]` are specified for a resource, only the array element's usage
# will be applied to that resource. This enables you to define default values using `[*]`
# and override specific elements using their index.
#
# Example:
#
# aws_cloudwatch_log_group.my_log_group[*]:
# storage_gb: 1000
# monthly_data_ingested_gb: 1000
# monthly_data_scanned_gb: 200
#
#
# Terraform AWS resources
#
aws_acmpca_certificate_authority.my_private_ca:
monthly_requests: 20000 # Monthly private certificate requests.
aws_api_gateway_rest_api.my_rest_api:
monthly_requests: 100000000 # Monthly requests to the Rest API Gateway.
aws_apigatewayv2_api.my_v2_api:
monthly_requests: 100000000 # Monthly requests to the HTTP API Gateway.
request_size_kb: 512 # Average request size sent to the HTTP API Gateway in KB. Requests are metered in 512KB increments, maximum size is 10MB.
monthly_messages: 1500000000 # Monthly number of messages sent to the Websocket API Gateway.
message_size_kb: 32 # Average size of the messages sent to the Websocket API Gateway in KB. Messages are metered in 32 KB increments, maximum size is 128KB.
monthly_connection_mins: 10000000 # Monthly total connection minutes to Websockets.
aws_autoscaling_group.my_asg:
instances: 15 # Number of instances in the autoscaling group.
operating_system: linux # Override the operating system of the instance, can be: linux, windows, suse, rhel.
reserved_instance_type: standard # Offering class for Reserved Instances. Can be: convertible, standard.
reserved_instance_term: 1_year # Term for Reserved Instances. Can be: 1_year, 3_year.
reserved_instance_payment_option: no_upfront # Payment option for Reserved Instances. Can be: no_upfront, partial_upfront, all_upfront.
# Only applicable when T2 credit_specification is set to unlimited or T3 & T4 instance types are used within a launch template, or T3 & T4 instance types are used in a launch configuration.
monthly_cpu_credit_hrs: 350 # Number of hours in the month where the instance is expected to burst.
vcpu_count: 2 # Number of the vCPUs for the instance type.
aws_cloudwatch_event_bus.my_events:
monthly_custom_events: 1000000 # Monthly custom events published. Each 64 KB chunk of payload is billed as 1 event.
monthly_third_party_events: 2000000 # Monthly third-party and cross-account events published. Each 64 KB chunk of payload is billed as 1 event.
monthly_archive_processing_gb: 100 # Monthly archive event processing in GB.
archive_storage_gb: 200 # Archive storage used for event replay in GB.
monthly_schema_discovery_events: 1000000 # Monthly events ingested for schema discovery. Each 8 KB chunk of payload is billed as 1 event.
aws_cloudwatch_log_group.my_log_group:
storage_gb: 1000 # Total data stored by CloudWatch logs in GB.
monthly_data_ingested_gb: 1000 # Monthly data ingested by CloudWatch logs in GB.
monthly_data_scanned_gb: 200 # Monthly data scanned by CloudWatch logs insights in GB.
aws_codebuild_project.my_project:
monthly_build_mins: 10000 # Monthly total duration of builds in minutes. Each build is rounded up to the nearest minute.
aws_config_config_rule.my_config:
monthly_rule_evaluations: 1000000 # Monthly config rule evaluations.
aws_config_configuration_recorder.my_config:
monthly_config_items: 10000 # Monthly config item records.
monthly_custom_config_items: 20000 # Monthly custom config item records.
aws_config_organization_custom_rule.my_config:
monthly_rule_evaluations: 300000 # Monthly config rule evaluations.
aws_config_organization_managed_rule.my_config:
monthly_rule_evaluations: 10000 # Monthly config rule evaluations.
aws_data_transfer.my_region:
region: us-east-1 # Region the data transfer is originating from.
monthly_intra_region_gb: 1000 # Monthly data transferred between availability zones in the region.
monthly_outbound_us_east_to_us_east_gb: 500 # Monthly data transferred between US east regions. NOTE: this is only valid if the region is a us-east region.
monthly_outbound_other_region_gb: 750 # Monthly data transferred to other AWS regions.
monthly_outbound_internet_gb: 5000 # Monthly data transferred to the Internet.
aws_docdb_cluster.my_cluster:
backup_storage_gb: 10000 # Amount of backup storage that is in excess of 100% of the storage size for the cluster in GB.
aws_docdb_cluster_instance.my_db:
data_storage_gb: 1000 # Total storage for cluster in GB.
monthly_io_request: 100000000 # Monthly number of input/output requests for cluster.
monthly_cpu_credit_hrs: 100 # Monthly CPU credits used over the instance baseline in vCPU-hours, only applicable for T3 instances.
aws_docdb_cluster_snapshot.my_snapshot:
backup_storage_gb: 10000 # Amount of backup storage that is in excess of 100% of the storage size for the cluster in GB.
aws_dx_connection.my_dx_connection:
monthly_outbound_region_to_dx_location_gb: 100 # Monthly outbound data transferred from AWS region to DX location in GB.
dx_virtual_interface_type: private # Interface type impacts outbound data transfer costs over DX, can be: private, public.
dx_connection_type: dedicated # Connection type impacts the per-port hourly price, can be: dedicated, hosted.
aws_dx_gateway_association.my_gateway:
monthly_data_processed_gb: 100 # Monthly data processed by the DX gateway association per month in GB.
aws_dynamodb_table.my_table:
monthly_write_request_units: 3000000 # Monthly write request units in (used for on-demand DynamoDB).
monthly_read_request_units: 8000000 # Monthly read request units in (used for on-demand DynamoDB).
storage_gb: 230 # Total storage for tables in GB.
pitr_backup_storage_gb: 2300 # Total storage for Point-In-Time Recovery (PITR) backups in GB.
on_demand_backup_storage_gb: 460 # Total storage for on-demand backups in GB.
monthly_data_restored_gb: 230 # Monthly size of restored data in GB.
monthly_streams_read_request_units: 2 # Monthly streams read request units.
aws_ebs_snapshot.my_snapshot:
monthly_list_block_requests: 1000000 # Monthly number of ListChangedBlocks and ListSnapshotBlocks requests.
monthly_get_block_requests: 100000 # Monthly number of GetSnapshotBlock requests (block size is 512KiB).
monthly_put_block_requests: 100000 # Monthly number of PutSnapshotBlock requests (block size is 512KiB).
aws_ebs_volume.my_standard_volume:
monthly_standard_io_requests: 10000000 # Monthly I/O requests for standard volume (Magnetic storage).
aws_ec2_transit_gateway_vpc_attachment.my_vpc_attachment:
monthly_data_processed_gb: 100 # Monthly data processed by the EC2 transit gateway attachment(s) in GB.
aws_ecr_repository.my_repository:
storage_gb: 1 # Total size of ECR repository in GB.
aws_efs_file_system.my_file_system:
storage_gb: 230 # Total storage for Standard class in GB.
infrequent_access_storage_gb: 100 # Total storage for Infrequent Access class in GB.
monthly_infrequent_access_read_gb: 50 # Monthly infrequent access read requests in GB.
monthly_infrequent_access_write_gb: 100 # Monthly infrequent access write requests in GB.
aws_eks_node_group.my_instance:
operating_system: linux # Override the operating system of the instance, can be: linux, windows, suse, rhel.
reserved_instance_type: standard # Offering class for Reserved Instances. Can be: convertible, standard.
reserved_instance_term: 1_year # Term for Reserved Instances. Can be: 1_year, 3_year.
reserved_instance_payment_option: partial_upfront # Payment option for Reserved Instances. Can be: no_upfront, partial_upfront, all_upfront.
# Only applicable for T3 & T4 instance types or if you specify a t2 instance within a launch template.
monthly_cpu_credit_hrs: 350 # Number of hours in the month where the instance is expected to burst.
vcpu_count: 2 # Number of the vCPUs for the instance type.
aws_elasticache_cluster.my_redis_snapshot:
snapshot_storage_size_gb: 10000 # Size of Redis snapshots in GB.
aws_elb.my_elb:
monthly_data_processed_gb: 10000 # Monthly data processed by a Classic Load Balancer in GB.
aws_instance.my_instance:
operating_system: linux # Override the operating system of the instance, can be: linux, windows, suse, rhel.
reserved_instance_type: standard # Offering class for Reserved Instances. Can be: convertible, standard.
reserved_instance_term: 1_year # Term for Reserved Instances. Can be: 1_year, 3_year.
reserved_instance_payment_option: all_upfront # Payment option for Reserved Instances. Can be: no_upfront, partial_upfront, all_upfront.
# Can be used with T2 / T3 & T4 Instance types. T2 requires credit_specification to be unlimited.
monthly_cpu_credit_hrs: 350 # Number of hours in the month where the instance is expected to burst.
vcpu_count: 2 # Number of the vCPUs for the instance type.
aws_fsx_windows_file_system.my_system:
backup_storage_gb: 10000 # Total storage used for backups in GB.
aws_lambda_function.my_function:
monthly_requests: 100000 # Monthly requests to the Lambda function.
request_duration_ms: 500 # Average duration of each request in milliseconds.
# The same can be used for the aws_alb resource too.
aws_lb.my_lb:
new_connections: 10000 # Number of newly established connections per second on average.
active_connections: 10000 # Number of active connections per minute on average.
processed_bytes_gb: 1000 # The number of bytes processed by the load balancer for HTTP(S) requests and responses in GB.
rule_evaluations: 10000 # The product of number of rules processed by the load balancer and the request rate.
aws_nat_gateway.my_nat_gateway:
monthly_data_processed_gb: 10 # Monthly data processed by the NAT Gateway in GB.
aws_mq_broker.my_aws_mq_broker:
storage_size_gb: 12 # Data storage per instance in GB.
aws_rds_cluster.my_cluster:
capacity_units_per_hr: 50 # Number of aurora capacity units per hour. Only used when engine_mode is "serverless"
storage_gb: 200 # Storage amount in GB allocated to the aurora cluster.
write_requests_per_sec: 100 # Total number of reads per second for the cluster.
read_requests_per_sec: 100 # Total number of writes per second for the cluster.
backup_snapshot_size_gb: 200 # Individual storage size for backup snapshots, used in conjunction with resource parameter "backup_retention_period".
average_statements_per_hr: 10000 # Number of statements generated per hour when backtrack is enabled. Only availble for MySQl-compatible Aurora
change_records_per_statement: 0.38 # Records changed per statement executed.
backtrack_window_hrs: 24 # The duration window for which Aurora will support rewinding the DB cluster to a specific point in time.
snapshot_export_size_gb: 200 # Size of snapshot that's exported to s3 in parquet format.
# These settings only apply when using t3 instance types.
aws_rds_cluster_instance.my_cluster:
monthly_cpu_credit_hrs: 24 # Number of hours in a month, where you expect to burst the baseline credit balance of a "t3" instance type.
vcpu_count: 2 # Number of virtual CPUs allocated to your "t3" instance type. Currently instances with 2 vCPUs are available.
aws_redshift_cluster.with_usage:
managed_storage_gb: 10000
excess_concurrency_scaling_secs: 20000
spectrum_data_scanned_tb: 1.5
backup_storage_gb: 1000000
aws_route53_health_check.my_health_check:
endpoint_type: aws # Type of health check endpoint to query, can be: either aws or non_aws.
aws_route53_record.my_record:
monthly_standard_queries: 1100000000 # Monthly number of Standard queries.
monthly_latency_based_queries: 1200000000 # Monthly number of Latency Based Routing queries.
monthly_geo_queries: 1500000000 # Monthly number of Geo DNS and Geoproximity queries.
aws_route53_resolver_endpoint.my_endpoint:
monthly_queries: 20000000000 # Monthly number of DNS queries processed through the endpoints.
aws_s3_bucket_analytics_configuration.my_config:
monthly_monitored_objects: 10000000 # Monthly number of monitored objects by S3 Analytics Storage Class Analysis.
aws_s3_bucket_inventory.my_inventory:
monthly_listed_objects: 100000000 # Monthly number of listed objects.
aws_s3_bucket.my_bucket:
object_tags: 10000000 # Total object tags.
standard: # Usages of S3 Standard:
storage_gb: 10000 # Total storage in GB.
monthly_tier_1_requests: 1000000 # Monthly PUT, COPY, POST, LIST requests (Tier 1).
monthly_tier_2_requests: 100000 # Monthly GET, SELECT, and all other requests (Tier 2).
monthly_select_data_scanned_gb: 10000 # Monthly data scanned by S3 Select in GB.
monthly_select_data_returned_gb: 1000 # Monthly data returned by S3 Select in GB.
intelligent_tiering: # Usages of S3 Intelligent - Tiering:
frequent_access_storage_gb: 20000 # Total storage for Frequent Access Tier in GB.
infrequent_access_storage_gb: 20000 # Total storage for Infrequent Access Tier in GB.
monitored_objects: 2000 # Total objects monitored by the Intelligent Tiering.
monthly_tier_1_requests: 2000000 # Monthly PUT, COPY, POST, LIST requests (Tier 1).
monthly_tier_2_requests: 200000 # Monthly GET, SELECT, and all other requests (Tier 2).
monthly_lifecycle_transition_requests: 200000 # Monthly Lifecycle Transition requests.
monthly_select_data_scanned_gb: 20000 # Monthly data scanned by S3 Select in GB.
monthly_select_data_returned_gb: 2000 # Monthly data returned by S3 Select in GB.
early_delete_gb: 200000 # If an archive is deleted within 1 months of being uploaded, you will be charged an early deletion fee per GB.
standard_infrequent_access: # Usages of S3 Standard - Infrequent Access:
storage_gb: 30000 # Total storage in GB.
monthly_tier_1_requests: 3000000 # Monthly PUT, COPY, POST, LIST requests (Tier 1).
monthly_tier_2_requests: 300000 # Monthly GET, SELECT, and all other requests (Tier 2).
monthly_lifecycle_transition_requests: 300000 # Monthly Lifecycle Transition requests.
monthly_retrieval_gb: 30000 # Monthly data retrievals in GB
monthly_select_data_scanned_gb: 30000 # Monthly data scanned by S3 Select in GB.
monthly_select_data_returned_gb: 3000 # Monthly data returned by S3 Select in GB.
one_zone_infrequent_access: # Usages of S3 One Zone - Infrequent Access:
storage_gb: 40000 # Total storage in GB.
monthly_tier_1_requests: 4000000 # Monthly PUT, COPY, POST, LIST requests (Tier 1).
monthly_tier_2_requests: 400000 # Monthly GET, SELECT, and all other requests (Tier 2).
monthly_lifecycle_transition_requests: 400000 # Monthly Lifecycle Transition requests.
monthly_retrieval_gb: 40000 # Monthly data retrievals in GB
monthly_select_data_scanned_gb: 40000 # Monthly data scanned by S3 Select in GB.
monthly_select_data_returned_gb: 4000 # Monthly data returned by S3 Select in GB.
glacier: # Usages of S3 Glacier:
storage_gb: 50000 # Total storage in GB.
monthly_tier_1_requests: 5000000 # Monthly PUT, COPY, POST, LIST requests (Tier 1).
monthly_tier_2_requests: 500000 # Monthly GET, SELECT, and all other requests (Tier 2).
monthly_lifecycle_transition_requests: 500000 # Monthly Lifecycle Transition requests.
monthly_standard_select_data_scanned_gb: 500000 # Monthly data scanned by S3 Select in GB (for standard level of S3 Glacier).
monthly_standard_select_data_returned_gb: 500000 # Monthly data returned by S3 Select in GB (for standard level of S3 Glacier).
monthly_bulk_select_data_scanned_gb: 500000 # Monthly data scanned by S3 Select in GB (for bulk level of S3 Glacier)
monthly_bulk_select_data_returned_gb: 500000 # Monthly data returned by S3 Select in GB (for bulk level of S3 Glacier)
monthly_expedited_select_data_scanned_gb: 500000 # Monthly data scanned by S3 Select in GB (for expedited level of S3 Glacier)
monthly_expedited_select_data_returned_gb: 500000 # Monthly data returned by S3 Select in GB (for expedited level of S3 Glacier)
monthly_standard_data_retrieval_requests: 500000 # Monthly data Retrieval requests (for standard level of S3 Glacier).
monthly_bulk_data_retrieval_requests: 500000 # Monthly data Retrieval requests (for bulk level of S3 Glacier).
monthly_expedited_data_retrieval_requests: 500000 # Monthly data Retrieval requests (for expedited level of S3 Glacier).
monthly_standard_data_retrieval_gb: 5000 # Monthly data retrievals in GB (for standard level of S3 Glacier).
monthly_bulk_data_retrieval_gb: 5000 # Monthly data retrievals in GB (for bulk level of S3 Glacier).
monthly_expedited_data_retrieval_gb: 5000 # Monthly data retrievals in GB (for expedited level of S3 Glacier).
early_delete_gb: 500000 # If an archive is deleted within 3 months of being uploaded, you will be charged an early deletion fee per GB.
glacier_deep_archive: # Usages of S3 Glacier Deep Archive:
storage_gb: 60000 # Total storage in GB.
monthly_tier_1_requests: 6000000 # Monthly PUT, COPY, POST, LIST requests (Tier 1).
monthly_tier_2_requests: 600000 # Monthly GET, SELECT, and all other requests (Tier 2).
monthly_lifecycle_transition_requests: 600000 # Monthly Lifecycle Transition requests.
monthly_standard_data_retrieval_requests: 600000 # Monthly data Retrieval requests (for standard level of S3 Glacier).
monthly_bulk_data_retrieval_requests: 600000 # Monthly data Retrieval requests (for bulk level of S3 Glacier).
monthly_standard_data_retrieval_gb: 6000 # Monthly data retrievals in GB (for standard level of S3 Glacier).
monthly_bulk_data_retrieval_gb: 6000 # Monthly data retrievals in GB (for bulk level of S3 Glacier).
early_delete_gb: 600000 # If an archive is deleted within 6 months of being uploaded, you will be charged an early deletion fee per GB.
aws_secretsmanager_secret.my_secret:
monthly_requests: 1000000 # Monthly API requests to Secrets Manager.
aws_sns_topic.my_sns_topic:
monthly_requests: 1000000 # Monthly requests to SNS.
request_size_kb: 64 # Size of requests to SNS, billed in 64KB chunks. So 1M requests at 128KB uses 2M requests.
aws_sns_topic_subscription.my_topic_subscription:
monthly_requests: 1000000 # Monthly requests to SNS.
request_size_kb: 64 # Size of requests to SNS, billed in 64KB chunks. So 1M requests at 128KB uses 2M requests.
aws_sqs_queue.my_queue:
monthly_requests: 1000000 # Monthly requests to SQS.
request_size_kb: 64 # Size of requests to SQS, billed in 64KB chunks. So 1M requests at 128KB uses 2M requests.
aws_ssm_parameter.my_ssm_parameter:
api_throughput_limit: standard # SSM Parameter Throughput limit, can be: standard, advanced, higher.
monthly_api_interactions: 1000000 # Monthly API interactions.
parameter_storage_hrs: 730 # Number of hours in the month parameters will be stored for.
aws_ssm_activation.my_activations:
instance_tier: standard # Instance tier being used, can be: standard, advanced.
instances: 100 # Number of instances being managed.
aws_vpc_endpoint.my_endpoint:
monthly_data_processed_gb: 1000 # Monthly data processed by the VPC endpoint(s) in GB.
aws_vpn_connection.my_connection:
monthly_data_processed_gb: 100 # Monthly data processed through a transit gateway attached to your VPN Connection in GB.
aws_cloudfront_distribution.my_s3_distribution:
monthly_data_transfer_to_internet_gb: # Monthly regional data transfer out to internet from the following, in GB:
us: 51200000 # United States, Mexico, Canada
europe: 220000 # Europe, Israel
south_africa: 10000 # South Africa, Kenya, Middle East
south_america: 50000 # South America
japan: 387000 # Japan
australia: 500000 # Australia, New Zealand
asia_pacific: 1200000 # Hong Kong, Philippines, Singapore, South Korea, Taiwan, Thailand
india: 200000 # India
monthly_data_transfer_to_origin_gb: # Monthly regional data transfer out to origin from the following, in GB:
us: 2200 # United States, Mexico, Canada
europe: 1000 # Europe, Israel
south_africa: 300 # South Africa, Kenya, Middle East
south_america: 200 # South America
japan: 10 # Japan
australia: 100 # Australia, New Zealand
asia_pacific: 30 # Hong Kong, Philippines, Singapore, South Korea, Taiwan, Thailand
india: 80 # India
monthly_http_requests: # Monthly number of HTTP requests to:
us: 80000 # United States, Mexico, Canada
europe: 40000 # Europe, Israel
south_africa: 20000 # South Africa, Kenya, Middle East
south_america: 10000 # South America
japan: 3000 # Japan
australia: 15000 # Australia, New Zealand
asia_pacific: 45000 # Hong Kong, Philippines, Singapore, South Korea, Taiwan, Thailand
india: 10000 # India
monthly_https_requests: # Monthly number of HTTPS requests to:
us: 180000 # United States, Mexico, Canada
europe: 10000 # Europe, Israel
south_africa: 50000 # South Africa, Kenya, Middle East
south_america: 30000 # South America
japan: 1000 # Japan
australia: 45000 # Australia, New Zealand
asia_pacific: 25000 # Hong Kong, Philippines, Singapore, South Korea, Taiwan, Thailand
india: 30000 # India
monthly_shield_requests: # Monthly number of shield requests to:
us: 90000 # United States
europe: 30000 # Europe
south_america: 200 # South America
japan: 12300 # Japan
australia: 2300 # Australia
singapore: 58600 # Singapore
south_korea: 24000 # South Korea
india: 10000 # India
monthly_invalidation_requests: 1200 # Monthly number of invalidation requests.
monthly_encryption_requests: 100000 # Monthly number of field level encryption requests.
monthly_log_lines: 5000000 # Monthly number of real-time log lines.
custom_ssl_certificates: 3 # Number of dedicated IP custom SSL certificates.
#
# Terraform GCP resources
#
google_cloudfunctions_function.my_function:
request_duration_ms: 300 # Average duration of each request in milliseconds.
monthly_function_invocations: 10000000 # Monthly number of function invocations.
monthly_outbound_data_gb: 100 # Monthly data transferred from the function out to somewhere else in GB.
google_compute_router_nat.my_nat:
assigned_vms: 4 # Number of VM instances assigned to the NAT gateway
monthly_data_processed_gb: 1000 # Monthly data processed (ingress and egress) by the NAT gateway in GB
google_container_cluster.my_cluster:
nodes: 4 # Node count per zone for the default node pool
node_pool[0]:
nodes: 2 # Node count per zone for the first node pool
google_container_node_pool.my_node_pool:
nodes: 4 # Node count per zone for the node pool
google_container_registry.my_registry:
storage_gb: 150 # Total size of bucket in GB.
monthly_class_a_operations: 40000 # Monthly number of class A operations (object adds, bucket/object list).
monthly_class_b_operations: 20000 # Monthly number of class B operations (object gets, retrieve bucket/object metadata).
monthly_data_retrieval_gb: 500 # Monthly amount of data retrieved in GB.
monthly_egress_data_transfer_gb: # Monthly data transfer from Cloud Storage to the following, in GB:
same_continent: 550 # Same continent.
worldwide: 12500 # Worldwide excluding Asia, Australia.
asia: 1500 # Asia excluding China, but including Hong Kong.
china: 50 # China excluding Hong Kong.
australia: 250 # Australia.
google_compute_image.my_image:
storage_gb: 1000 # Total size of image storage in GB.
google_compute_machine_image.my_machine_image:
storage_gb: 1000 # Total size of machine image storage in GB.
google_compute_snapshot.my_snapshot:
storage_gb: 500 # Total size of snapshot disk storage in GB.
google_dns_record_set.my_record_set:
monthly_queries: 1000000 # Monthly DNS queries.
google_kms_crypto_key.my_keys:
key_versions: 10000 # Number of key versions.
monthly_key_operations: 1000000 # Monthly number of key operations.
google_logging_billing_account_bucket_config.my_config:
monthly_logging_data_gb: 100 # Monthly logging data in GB.
google_logging_billing_account_sink.my_sink:
monthly_logging_data_gb: 100 # Monthly logging data in GB.
google_logging_folder_bucket_config.my_config:
monthly_logging_data_gb: 100 # Monthly logging data in GB.
google_logging_folder_sink.my_sink:
monthly_logging_data_gb: 100 # Monthly logging data in GB.
google_logging_organization_bucket_config.my.config:
monthly_logging_data_gb: 100 # Monthly logging data in GB.
google_logging_organization_sink.my_sink:
monthly_logging_data_gb: 100 # Monthly logging data in GB.
google_logging_project_bucket_config.my_config:
monthly_logging_data_gb: 100 # Monthly logging data in GB.
google_logging_project_sink.my_sink:
monthly_logging_data_gb: 100 # Monthly logging data in GB.
google_monitoring_metric_descriptor.my_monitoring:
monthly_monitoring_data_mb: 5000 # Monthly monitoring data in MB (only for chargeable metrics).
monthly_api_calls: 1000000 # Monthly read API calls (write calls are free).
google_pubsub_subscription.my_subscription:
monthly_message_data_tb: 7.416 # Monthly amount of message data pulled by the subscription in TB.
storage_gb: 605 # Storage for retaining acknowledged messages in GB.
snapshot_storage_gb: 70.6 # Snapshot storage for unacknowledged messages in GB.
google_pubsub_topic.my_topic:
monthly_message_data_tb: 7.416 # Monthly amount of message data published to the topic in TB.
google_sql_database_instance.my_instance:
backup_storage_gb: 1000 # Amount of backup storage in GB.
google_storage_bucket.my_storage_bucket:
storage_gb: 150 # Total size of bucket in GB.
monthly_class_a_operations: 40000 # Monthly number of class A operations (object adds, bucket/object list).
monthly_class_b_operations: 20000 # Monthly number of class B operations (object gets, retrieve bucket/object metadata).
monthly_data_retrieval_gb: 500 # Monthly amount of data retrieved in GB.
monthly_egress_data_transfer_gb: # Monthly data transfer from Cloud Storage to the following, in GB:
same_continent: 550 # Same continent.
worldwide: 12500 # Worldwide excluding Asia, Australia.
asia: 1500 # Asia excluding China, but including Hong Kong.
china: 50 # China excluding Hong Kong.
australia: 250 # Australia.
#
# Terraform AzureRM resources
#
azurerm_app_service_environment.my_service:
operating_system: linux # Override the operating system of the instance, can be: linux, windows.
azurerm_function_app.my_functions:
monthly_executions: 100000 # Monthly executions to the function. Only applicable for Consumption plan.
execution_duration_ms: 500 # Average duration of each execution in milliseconds. Only applicable for Consumption plan.
memory_mb: 128 # Average amount of memory consumed by function in MB. Only applicable for Consumption plan.
instances: 2 # Number of instances. Only applicable for Premium plan.
azurerm_container_registry.my_registry:
storage_gb: 150
monthly_build_vcpu_hrs: 150
azurerm_linux_virtual_machine.my_linux_vm:
os_disk:
monthly_disk_operations: 2000000 # Number of disk operations (writes, reads, deletes) using a unit size of 256KiB.
azurerm_linux_virtual_machine_scale_set.standard_f2:
instances: 10 # Override the number of instances in the scale set.
os_disk:
monthly_disk_operations: 2000000 # Number of disk operations (writes, reads, deletes) using a unit size of 256KiB per instance in the scale set.
azurerm_managed_disk.my_disk:
monthly_disk_operations: 2000000 # Number of disk operations (writes, reads, deletes) using a unit size of 256KiB.
azurerm_mariadb_server.my_server:
additional_backup_storage_gb: 2000 # Additional consumption of backup storage in GB.
azurerm_mssql_database.my_database:
monthly_vcore_hours: 600 # Monthly number of used vCore-hours for serverless compute.
long_term_retention_storage_gb: 1000 # Number of GBs used by long-term retention backup storage.
azurerm_mysql_server.my_server:
additional_backup_storage_gb: 2000 # Additional consumption of backup storage in GB.
azurerm_postgresql_server.my_server:
additional_backup_storage_gb: 3000 # Additional consumption of backup storage in GB.
azurerm_storage_account.my_account:
storage_gb: 1000000 # Total size of storage in GB.
monthly_write_operations: 1000000 # Monthly number of Write operations.
monthly_list_and_create_container_operations: 1000000 # Monthly number of List and Create Container operations.
monthly_read_operations: 100000 # Monthly number of Read operations.
monthly_other_operations: 1000000 # Monthly number of All other operations.
monthly_data_retrieval_gb: 1000 # Monthly number of data retrieval in GB.
monthly_data_write_gb: 1000 # Monthly number of data write in GB.
blob_index_tags: 100000 # Total number of Blob indexes.
azurerm_windows_virtual_machine.my_windows_vm:
os_disk:
monthly_disk_operations: 2000000 # Number of disk operations (writes, reads, deletes) using a unit size of 256KiB.
azurerm_windows_virtual_machine_scale_set.basic_a2:
instances: 10 # Override the number of instances in the scale set.
os_disk:
monthly_disk_operations: 2000000 # Number of disk operations (writes, reads, deletes) using a unit size of 256KiB per instance in the scale set.