Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
jnonino authored May 18, 2022
1 parent 403be8b commit 29d4214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module "aws_cw_logs" {
#------------------------------------------------------------------------------
module "ecs_fargate" {
source = "cn-terraform/ecs-fargate/aws"
version = "2.0.36"
version = "2.0.37"
# source = "../terraform-aws-ecs-fargate"

name_prefix = "${var.name_prefix}-sonar"
Expand Down

2 comments on commit 29d4214

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ’° Infracost estimate: monthly cost will increase by $388 πŸ“ˆ

Project Previous New Diff
cn-terraform/terraform-aws-sonarqube $0 $388 +$388
Infracost output
Project: cn-terraform/terraform-aws-sonarqube

+ module.base-network.aws_nat_gateway.nat_gw[0]
  +$32.85

    + NAT gateway
      +$32.85

    + Data processed
      Monthly cost depends on usage
        +$0.045 per GB

+ module.base-network.aws_nat_gateway.nat_gw[1]
  +$32.85

    + NAT gateway
      +$32.85

    + Data processed
      Monthly cost depends on usage
        +$0.045 per GB

+ module.base-network.aws_nat_gateway.nat_gw[2]
  +$32.85

    + NAT gateway
      +$32.85

    + Data processed
      Monthly cost depends on usage
        +$0.045 per GB

+ module.base-network.aws_nat_gateway.nat_gw[3]
  +$32.85

    + NAT gateway
      +$32.85

    + Data processed
      Monthly cost depends on usage
        +$0.045 per GB

+ module.sonar.aws_kms_key.encryption_key
  +$1.00

    + Customer master key
      +$1.00

    + 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.sonar.aws_rds_cluster.aurora_db
  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

    + Snapshot export
      Monthly cost depends on usage
        +$0.01 per GB

+ module.sonar.aws_rds_cluster_instance.aurora_db_cluster_instances[0]
  +$59.86

    + Database instance (on-demand, db.t3.medium)
      +$59.86

+ module.sonar.aws_rds_cluster_instance.aurora_db_cluster_instances[1]
  +$59.86

    + Database instance (on-demand, db.t3.medium)
      +$59.86

+ module.sonar.aws_rds_cluster_instance.aurora_db_cluster_instances[2]
  +$59.86

    + Database instance (on-demand, db.t3.medium)
      +$59.86

+ module.sonar.aws_rds_cluster_instance.aurora_db_cluster_instances[3]
  +$59.86

    + Database instance (on-demand, db.t3.medium)
      +$59.86

+ module.sonar.module.aws_cw_logs.aws_cloudwatch_log_group.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.sonar.module.ecs_fargate.module.ecs-fargate-service.aws_ecs_service.service
  $0.00

    + Per GB per hour
      $0.00

    + Per vCPU per hour
      $0.00

+ module.sonar.module.ecs_fargate.module.ecs-fargate-service.module.ecs-alb.aws_lb.lb
  +$16.43

    + Application load balancer
      +$16.43

    + Load balancer capacity units
      Monthly cost depends on usage
        +$5.84 per LCU

+ module.sonar.module.ecs_fargate.module.ecs-fargate-service.module.ecs-alb.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

Monthly cost change for cn-terraform/terraform-aws-sonarqube
Amount:  +$388 ($0.00 β†’ $388)

──────────────────────────────────
Key: ~ changed, + added, - removed

68 cloud resources were detected:
βˆ™ 14 were estimated, 12 of which include usage-based costs, see https://infracost.io/usage-file
βˆ™ 54 were free, rerun with --show-skipped to see details
Is this comment useful? Yes, No

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ’° Infracost estimate: monthly cost will increase by $388 πŸ“ˆ

Project Previous New Diff
cn-terraform/terraform-aws-sonarqube $0 $388 +$388
Infracost output
Project: cn-terraform/terraform-aws-sonarqube

+ module.base-network.aws_nat_gateway.nat_gw[0]
  +$32.85

    + NAT gateway
      +$32.85

    + Data processed
      Monthly cost depends on usage
        +$0.045 per GB

+ module.base-network.aws_nat_gateway.nat_gw[1]
  +$32.85

    + NAT gateway
      +$32.85

    + Data processed
      Monthly cost depends on usage
        +$0.045 per GB

+ module.base-network.aws_nat_gateway.nat_gw[2]
  +$32.85

    + NAT gateway
      +$32.85

    + Data processed
      Monthly cost depends on usage
        +$0.045 per GB

+ module.base-network.aws_nat_gateway.nat_gw[3]
  +$32.85

    + NAT gateway
      +$32.85

    + Data processed
      Monthly cost depends on usage
        +$0.045 per GB

+ module.sonar.aws_kms_key.encryption_key
  +$1.00

    + Customer master key
      +$1.00

    + 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.sonar.aws_rds_cluster.aurora_db
  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

    + Snapshot export
      Monthly cost depends on usage
        +$0.01 per GB

+ module.sonar.aws_rds_cluster_instance.aurora_db_cluster_instances[0]
  +$59.86

    + Database instance (on-demand, db.t3.medium)
      +$59.86

+ module.sonar.aws_rds_cluster_instance.aurora_db_cluster_instances[1]
  +$59.86

    + Database instance (on-demand, db.t3.medium)
      +$59.86

+ module.sonar.aws_rds_cluster_instance.aurora_db_cluster_instances[2]
  +$59.86

    + Database instance (on-demand, db.t3.medium)
      +$59.86

+ module.sonar.aws_rds_cluster_instance.aurora_db_cluster_instances[3]
  +$59.86

    + Database instance (on-demand, db.t3.medium)
      +$59.86

+ module.sonar.module.aws_cw_logs.aws_cloudwatch_log_group.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.sonar.module.ecs_fargate.module.ecs-fargate-service.aws_ecs_service.service
  $0.00

    + Per GB per hour
      $0.00

    + Per vCPU per hour
      $0.00

+ module.sonar.module.ecs_fargate.module.ecs-fargate-service.module.ecs-alb.aws_lb.lb
  +$16.43

    + Application load balancer
      +$16.43

    + Load balancer capacity units
      Monthly cost depends on usage
        +$5.84 per LCU

+ module.sonar.module.ecs_fargate.module.ecs-fargate-service.module.ecs-alb.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

Monthly cost change for cn-terraform/terraform-aws-sonarqube
Amount:  +$388 ($0.00 β†’ $388)

──────────────────────────────────
Key: ~ changed, + added, - removed

68 cloud resources were detected:
βˆ™ 14 were estimated, 12 of which include usage-based costs, see https://infracost.io/usage-file
βˆ™ 54 were free, rerun with --show-skipped to see details
Is this comment useful? Yes, No

Please sign in to comment.