💰 Infracost estimate: monthly cost will increase by $165 📈
Project
Cost change
New monthly cost
shine102/demo-github-action/terraform/module
+$165
$165
Infracost output
```
──────────────────────────────────
Project: shine102/demo-github-action/terraform/module
Module path: terraform/module
+ module.compute.aws_cloudwatch_log_group.km_log_group
Monthly cost depends on usage
+ Data ingested
Monthly cost depends on usage
+$0.50 per GB
+ Archival Storage
Monthly cost depends on usage
+$0.03 per GB
+ Insights queries data scanned
Monthly cost depends on usage
+$0.005 per GB
+ module.compute.aws_ecs_service.km_ecs_service
+$18
+ Per GB per hour
+$3
+ Per vCPU per hour
+$15
+ module.compute.aws_instance.km_vm
+$9
+ Instance usage (Linux/UNIX, on-demand, t2.micro)
+$8
+ root_block_device
+ Storage (general purpose SSD, gp2)
+$0.80
+ module.network.aws_lb.km_lb
+$16
+ Application load balancer
+$16
+ Load balancer capacity units
Monthly cost depends on usage
+$5.84 per LCU
+ module.network.aws_nat_gateway.km_nat_gateway[0]
+$33
+ NAT gateway
+$33
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
+ module.network.aws_nat_gateway.km_nat_gateway[1]
+$33
+ NAT gateway
+$33
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
+ module.storage.aws_db_instance.km_db
+$55
+ Database instance (on-demand, Single-AZ, db.t3.medium)
+$53
+ Storage (general purpose SSD, gp2)
+$2
+ module.storage.aws_kms_key.km_db_kms_key
+$1
+ Customer master key
+$1
+ Requests
Monthly cost depends on usage
+$0.03 per 10k requests
+ ECC GenerateDataKeyPair requests
Monthly cost depends on usage
+$0.10 per 10k requests
+ RSA GenerateDataKeyPair requests
Monthly cost depends on usage
+$0.10 per 10k requests
+ module.storage.aws_s3_bucket.km_blob_storage
Monthly cost depends on usage
+ Standard
+ Storage
Monthly cost depends on usage
+$0.023 per GB
+ PUT, COPY, POST, LIST requests
Monthly cost depends on usage
+$0.005 per 1k requests
+ GET, SELECT, and all other requests
Monthly cost depends on usage
+$0.0004 per 1k requests
+ Select data scanned
Monthly cost depends on usage
+$0.002 per GB
+ Select data returned
Monthly cost depends on usage
+$0.0007 per GB
+ module.storage.aws_s3_bucket.km_public_blob
Monthly cost depends on usage
+ Standard
+ Storage
Monthly cost depends on usage
+$0.023 per GB
+ PUT, COPY, POST, LIST requests
Monthly cost depends on usage
+$0.005 per 1k requests
+ GET, SELECT, and all other requests
Monthly cost depends on usage
+$0.0004 per 1k requests
+ Select data scanned
Monthly cost depends on usage
+$0.002 per GB
+ Select data returned
Monthly cost depends on usage
+$0.0007 per GB
Monthly cost change for shine102/demo-github-action/terraform/module (Module path: terraform/module)
Amount: +$165 ($0.00 → $165)
──────────────────────────────────
Project: shine102/demo-github-action
Errors:
No valid Terraform files found at path ., try a different directory
Try adding a config-file to configure how Infracost should run. See https://infracost.io/config-file for details and examples.
──────────────────────────────────
Key: ~ changed, + added, - removed
40 cloud resources were detected:
∙ 10 were estimated, 8 of which include usage-based costs, see https://infracost.io/usage-file
∙ 30 were free, rerun with --show-skipped to see details
Infracost estimate: monthly cost will increase by $165 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓
┃ Project ┃ Cost change ┃ New monthly cost ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━┫
┃ shine102/demo-github-action/terraform/module ┃ +$165 ┃ $165 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━┛
```
<details>
<summary><strong>⚠️ Policies warning</strong></summary>
<h4>⚠️ <b>FinOps tags</b> (warning)</h4>
<table>
<tr>
<td>
<p>This example Tagging policy shows how you can enforce required FinOps tag keys/values in pull requests. This example checks for the tags 'Service' (can have any value) and 'Environment' (must be Dev/Stage/Prod) on all taggable resources being changed in the pull request. You can adjust it from https://dashboard.infracost.io > Governance > Tagging policies. You have a 14 day trial of this feature as it's part of Infracost Cloud.</p>
</td>
</tr>
<tr><td>
module.compute.aws_cloudwatch_log_group.km_log_group at terraform/module/main.tf:30
Missing mandatory tags: Service, Environment
in project shine102/demo-github-action/terraform/module
**module.compute.aws_ecs_service.km_ecs_service** at `terraform/module/main.tf:30`
* Missing mandatory tags: `Service`, `Environment`
in project `shine102/demo-github-action/terraform/module`
<tr><td>
module.compute.aws_instance.km_vm at terraform/module/main.tf:30
in project shine102/demo-github-action/terraform/module
**module.network.aws_lb.km_lb** at `terraform/module/main.tf:14`
* Missing mandatory tags: `Service`, `Environment`
in project `shine102/demo-github-action/terraform/module`
<tr><td>
module.network.aws_nat_gateway.km_nat_gateway[0] at terraform/module/main.tf:14
Missing mandatory tags: Service, Environment
in project shine102/demo-github-action/terraform/module
**module.network.aws_nat_gateway.km_nat_gateway[1]** at `terraform/module/main.tf:14`
* Missing mandatory tags: `Service`, `Environment`
in project `shine102/demo-github-action/terraform/module`
<tr><td>
module.storage.aws_db_instance.km_db at terraform/module/main.tf:20
Missing mandatory tags: Service, Environment
in project shine102/demo-github-action/terraform/module
**module.storage.aws_kms_key.km_db_kms_key** at `terraform/module/main.tf:20`
* Missing mandatory tags: `Service`, `Environment`
in project `shine102/demo-github-action/terraform/module`
<tr><td>
module.storage.aws_s3_bucket.km_blob_storage at terraform/module/main.tf:20
Missing mandatory tags: Service, Environment
in project shine102/demo-github-action/terraform/module
**module.storage.aws_s3_bucket.km_public_blob** at `terraform/module/main.tf:20`
* Missing mandatory tags: `Service`, `Environment`
in project `shine102/demo-github-action/terraform/module`
<tr>
<td>
<p>... and 24 more. <a href="https://dashboard.infracost.io/org/nguyenngotunglam2/repos/1cd3011f-d68a-41af-960c-72ff88e995bf/runs/c55bbfbd-cf37-4d35-a5a7-835b86ad93bb" rel="noopener noreferrer" target="_blank">View in Infracost Cloud.</a></p>
</td>
</tr>
</table>
</details>
⚠️ Guardrails triggered
> - Warning: At least one project exceeded per-project threshold. Cost increased by $165, threshold was $10. This example Guardrail shows how you can monitor pull request costs, and trigger actions when your defined thresholds are exceeded. You can adjust it from https://dashboard.infracost.io > Governance > Guardrails. You have a 14 day trial of this feature as it's part of Infracost Cloud.
💰 Infracost estimate: monthly cost will increase by $165 📈
Infracost output
``` ────────────────────────────────── Project: shine102/demo-github-action/terraform/module Module path: terraform/module + module.compute.aws_cloudwatch_log_group.km_log_group Monthly cost depends on usage + Data ingested Monthly cost depends on usage +$0.50 per GB + Archival Storage Monthly cost depends on usage +$0.03 per GB + Insights queries data scanned Monthly cost depends on usage +$0.005 per GB + module.compute.aws_ecs_service.km_ecs_service +$18 + Per GB per hour +$3 + Per vCPU per hour +$15 + module.compute.aws_instance.km_vm +$9 + Instance usage (Linux/UNIX, on-demand, t2.micro) +$8 + root_block_device + Storage (general purpose SSD, gp2) +$0.80 + module.network.aws_lb.km_lb +$16 + Application load balancer +$16 + Load balancer capacity units Monthly cost depends on usage +$5.84 per LCU + module.network.aws_nat_gateway.km_nat_gateway[0] +$33 + NAT gateway +$33 + Data processed Monthly cost depends on usage +$0.045 per GB + module.network.aws_nat_gateway.km_nat_gateway[1] +$33 + NAT gateway +$33 + Data processed Monthly cost depends on usage +$0.045 per GB + module.storage.aws_db_instance.km_db +$55 + Database instance (on-demand, Single-AZ, db.t3.medium) +$53 + Storage (general purpose SSD, gp2) +$2 + module.storage.aws_kms_key.km_db_kms_key +$1 + Customer master key +$1 + Requests Monthly cost depends on usage +$0.03 per 10k requests + ECC GenerateDataKeyPair requests Monthly cost depends on usage +$0.10 per 10k requests + RSA GenerateDataKeyPair requests Monthly cost depends on usage +$0.10 per 10k requests + module.storage.aws_s3_bucket.km_blob_storage Monthly cost depends on usage + Standard + Storage Monthly cost depends on usage +$0.023 per GB + PUT, COPY, POST, LIST requests Monthly cost depends on usage +$0.005 per 1k requests + GET, SELECT, and all other requests Monthly cost depends on usage +$0.0004 per 1k requests + Select data scanned Monthly cost depends on usage +$0.002 per GB + Select data returned Monthly cost depends on usage +$0.0007 per GB + module.storage.aws_s3_bucket.km_public_blob Monthly cost depends on usage + Standard + Storage Monthly cost depends on usage +$0.023 per GB + PUT, COPY, POST, LIST requests Monthly cost depends on usage +$0.005 per 1k requests + GET, SELECT, and all other requests Monthly cost depends on usage +$0.0004 per 1k requests + Select data scanned Monthly cost depends on usage +$0.002 per GB + Select data returned Monthly cost depends on usage +$0.0007 per GB Monthly cost change for shine102/demo-github-action/terraform/module (Module path: terraform/module) Amount: +$165 ($0.00 → $165) ────────────────────────────────── Project: shine102/demo-github-action Errors: No valid Terraform files found at path ., try a different directory Try adding a config-file to configure how Infracost should run. See https://infracost.io/config-file for details and examples. ────────────────────────────────── Key: ~ changed, + added, - removed 40 cloud resources were detected: ∙ 10 were estimated, 8 of which include usage-based costs, see https://infracost.io/usage-file ∙ 30 were free, rerun with --show-skipped to see details Infracost estimate: monthly cost will increase by $165 ↑ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓ ┃ Project ┃ Cost change ┃ New monthly cost ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━┫ ┃ shine102/demo-github-action/terraform/module ┃ +$165 ┃ $165 ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━┛ ```module.compute.aws_cloudwatch_log_group.km_log_group at
terraform/module/main.tf:30
Service
,Environment
in project
shine102/demo-github-action/terraform/module
module.compute.aws_instance.km_vm at
terraform/module/main.tf:30
Service
,Environment
,root_block_device.Service
,root_block_device.Environment
in project
shine102/demo-github-action/terraform/module
module.network.aws_nat_gateway.km_nat_gateway[0] at
terraform/module/main.tf:14
Service
,Environment
in project
shine102/demo-github-action/terraform/module
module.storage.aws_db_instance.km_db at
terraform/module/main.tf:20
Service
,Environment
in project
shine102/demo-github-action/terraform/module
module.storage.aws_s3_bucket.km_blob_storage at
terraform/module/main.tf:20
Service
,Environment
in project
shine102/demo-github-action/terraform/module
⚠️ Guardrails triggered
> - Warning: At least one project exceeded per-project threshold. Cost increased by $165, threshold was $10. This example Guardrail shows how you can monitor pull request costs, and trigger actions when your defined thresholds are exceeded. You can adjust it from https://dashboard.infracost.io > Governance > Guardrails. You have a 14 day trial of this feature as it's part of Infracost Cloud.View in Infracost Cloud. This comment will be updated when the cost estimate changes.