Skip to content

Commit

Permalink
Update AWS provider to version 4 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnonino authored Mar 2, 2022
1 parent 6e2b461 commit 46391b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ In order to run all checks at any point run the following command:
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.74 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4 |

## Providers

Expand Down
2 changes: 1 addition & 1 deletion examples/test/mock_provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.74"
version = ">= 4"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.74"
version = ">= 4"
}
}
}

2 comments on commit 46391b7

@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 $10.69 πŸ“ˆ

Project Previous New Diff
cn-terraform/terraform-aws-ec2-asg/examples/test $0 $10.69 +$10.69
Infracost output
Project: cn-terraform/terraform-aws-ec2-asg/examples/test

+ module.asg.aws_autoscaling_group.asg
  +$10.49

    + module.asg.aws_launch_configuration.lc
    
        + Instance usage (Linux/UNIX, on-demand, t3.micro)
          +$7.59
    
        + EC2 detailed monitoring
          +$2.10
    
        + CPU credits
          $0.00
    
        + root_block_device
        
            + Storage (general purpose SSD, gp2)
              +$0.80

+ module.asg.aws_cloudwatch_metric_alarm.cpu_high_alarm
  +$0.10

    + Standard resolution
      +$0.10

+ module.asg.aws_cloudwatch_metric_alarm.cpu_low_alarm
  +$0.10

    + Standard resolution
      +$0.10

Monthly cost change for cn-terraform/terraform-aws-ec2-asg/examples/test
Amount:  +$10.69 ($0.00 β†’ $10.69)

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

6 cloud resources were detected, rerun with --show-skipped to see details:
βˆ™ 3 were estimated, 1 includes usage-based costs, see https://infracost.io/usage-file
βˆ™ 2 weren't estimated, report them in https://github.com/infracost/infracost
βˆ™ 1 was free
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 $10.69 πŸ“ˆ

Project Previous New Diff
cn-terraform/terraform-aws-ec2-asg/examples/test $0 $10.69 +$10.69
Infracost output
Project: cn-terraform/terraform-aws-ec2-asg/examples/test

+ module.asg.aws_autoscaling_group.asg
  +$10.49

    + module.asg.aws_launch_configuration.lc
    
        + Instance usage (Linux/UNIX, on-demand, t3.micro)
          +$7.59
    
        + EC2 detailed monitoring
          +$2.10
    
        + CPU credits
          $0.00
    
        + root_block_device
        
            + Storage (general purpose SSD, gp2)
              +$0.80

+ module.asg.aws_cloudwatch_metric_alarm.cpu_high_alarm
  +$0.10

    + Standard resolution
      +$0.10

+ module.asg.aws_cloudwatch_metric_alarm.cpu_low_alarm
  +$0.10

    + Standard resolution
      +$0.10

Monthly cost change for cn-terraform/terraform-aws-ec2-asg/examples/test
Amount:  +$10.69 ($0.00 β†’ $10.69)

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

6 cloud resources were detected, rerun with --show-skipped to see details:
βˆ™ 3 were estimated, 1 includes usage-based costs, see https://infracost.io/usage-file
βˆ™ 2 weren't estimated, report them in https://github.com/infracost/infracost
βˆ™ 1 was free
Is this comment useful? Yes, No

Please sign in to comment.