shine102 / demo-github-action

demo for github action on python language
1 stars 0 forks source link

Test #6

Closed shine102 closed 10 months ago

infracost[bot] commented 10 months ago

💰 Infracost estimate: monthly cost will decrease by $54 📉

Project Cost change New monthly cost
shine102/demo-github-action/terraform -$219 $0
shine102/demo-github-action/terraform/module +$165 $165
Infracost output ``` ────────────────────────────────── Project: shine102/demo-github-action/terraform Module path: terraform - aws_db_instance.default -$15 - Database instance (on-demand, Single-AZ, db.t3.micro) -$12 - Storage (general purpose SSD, gp2) -$2 - aws_ebs_snapshot.example_snapshot -$0.05 - EBS snapshot storage -$0.05 - Fast snapshot restore Monthly cost depends on usage -$0.75 per DSU-hours - ListChangedBlocks & ListSnapshotBlocks API requests Monthly cost depends on usage -$0.0006 per 1k requests - GetSnapshotBlock API requests Monthly cost depends on usage -$0.003 per 1k SnapshotAPIUnits - PutSnapshotBlock API requests Monthly cost depends on usage -$0.006 per 1k SnapshotAPIUnits - aws_ebs_volume.web_host_storage -$0.10 - Storage (general purpose SSD, gp2) -$0.10 - aws_ecr_repository.repository Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - aws_eks_cluster.eks_cluster -$73 - EKS cluster -$73 - aws_elasticsearch_domain.monitoring-framework -$30 - Instance (on-demand, t2.small.elasticsearch) -$26 - Storage (gp2) -$4 - aws_elb.weblb -$18 - Classic load balancer -$18 - Data processed Monthly cost depends on usage -$0.008 per GB - aws_instance.db_app -$5 - Instance usage (Linux/UNIX, on-demand, t2.nano) -$4 - root_block_device - Storage (general purpose SSD, gp2) -$0.80 - aws_instance.web_host -$5 - Instance usage (Linux/UNIX, on-demand, t2.nano) -$4 - root_block_device - Storage (general purpose SSD, gp2) -$0.80 - aws_kms_key.logs_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 - aws_lambda_function.analysis_lambda Monthly cost depends on usage - Requests Monthly cost depends on usage -$0.20 per 1M requests - Ephemeral storage Monthly cost depends on usage -$0.0000000309 per GB-seconds - Duration (first 6B) Monthly cost depends on usage -$0.0000166667 per GB-seconds - aws_neptune_cluster.default Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M request - Backup storage Monthly cost depends on usage -$0.021 per GB - aws_neptune_cluster_instance.default[0] -$72 - Database instance (on-demand, db.t3.medium) -$72 - CPU credits Monthly cost depends on usage -$0.15 per vCPU-hours - aws_neptune_cluster_snapshot.default Monthly cost depends on usage - Backup storage Monthly cost depends on usage -$0.021 per GB - aws_rds_cluster.app1-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_rds_cluster.app2-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_rds_cluster.app3-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backup storage Monthly cost depends on usage -$0.021 per GB - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_rds_cluster.app4-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backup storage Monthly cost depends on usage -$0.021 per GB - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_rds_cluster.app5-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backup storage Monthly cost depends on usage -$0.021 per GB - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_rds_cluster.app6-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backup storage Monthly cost depends on usage -$0.021 per GB - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_rds_cluster.app7-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backup storage Monthly cost depends on usage -$0.021 per GB - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_rds_cluster.app8-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backup storage Monthly cost depends on usage -$0.021 per GB - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_rds_cluster.app9-rds-cluster Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - I/O requests Monthly cost depends on usage -$0.20 per 1M requests - Backup storage Monthly cost depends on usage -$0.021 per GB - Backtrack Monthly cost depends on usage -$0.012 per 1M change-records - Snapshot export Monthly cost depends on usage -$0.01 per GB - aws_s3_bucket.data 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 - aws_s3_bucket.data_science 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 - aws_s3_bucket.financials 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 - aws_s3_bucket.flowbucket 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 - aws_s3_bucket.logs 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 - aws_s3_bucket.operations 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 path: terraform) Amount: -$219 ($219 → $0.00) ────────────────────────────────── 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) ────────────────────────────────── 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 decrease by $54 ↓ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓ ┃ Project ┃ Cost change ┃ New monthly cost ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━┫ ┃ shine102/demo-github-action/terraform ┃ -$219 ┃ $0.00 ┃ ┃ 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

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

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

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

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/af7a67c0-ba6d-428a-8604-c61a9f3a4caa" 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 -$54, 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.

github-actions[bot] commented 10 months ago

💰 Infracost estimate: monthly cost will not change

This comment will be updated when the cost estimate changes.