Skip to content

Commit

Permalink
Update AWS privider
Browse files Browse the repository at this point in the history
  • Loading branch information
jnonino committed Feb 12, 2022
1 parent d7cd5b8 commit ec1e130
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 39 deletions.
28 changes: 14 additions & 14 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ 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.1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.74 |
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.1.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 3.74.1 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.0.0 |

## Modules

Expand All @@ -66,12 +66,12 @@ No modules.

| Name | Type |
|------|------|
| [aws_cloudwatch_event_rule.event_rule](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/cloudwatch_event_rule) | resource |
| [aws_cloudwatch_event_target.ecs_scheduled_task](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/cloudwatch_event_target) | resource |
| [aws_iam_role.scheduled_task_cw_event_role](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/iam_role) | resource |
| [aws_iam_role_policy.scheduled_task_cw_event_role_cloudwatch_policy](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/resources/iam_role_policy) | resource |
| [aws_iam_policy_document.scheduled_task_cw_event_role_assume_role_policy](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/data-sources/iam_policy_document) | data source |
| [aws_iam_policy_document.scheduled_task_cw_event_role_cloudwatch_policy](https://registry.terraform.io/providers/hashicorp/aws/3.74.1/docs/data-sources/iam_policy_document) | data source |
| [aws_cloudwatch_event_rule.event_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_event_rule) | resource |
| [aws_cloudwatch_event_target.ecs_scheduled_task](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_event_target) | resource |
| [aws_iam_role.scheduled_task_cw_event_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
| [aws_iam_role_policy.scheduled_task_cw_event_role_cloudwatch_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy) | resource |
| [aws_iam_policy_document.scheduled_task_cw_event_role_assume_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [aws_iam_policy_document.scheduled_task_cw_event_role_cloudwatch_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |

## Inputs

Expand Down
28 changes: 14 additions & 14 deletions examples/test/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions 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.1"
version = ">= 3.74"
}
local = {
source = "hashicorp/local"
Expand All @@ -17,7 +17,7 @@ provider "aws" {
skip_credentials_validation = true
skip_requesting_account_id = true
skip_metadata_api_check = true
s3_force_path_style = true
s3_use_path_style = true
access_key = "mock_access_key"
secret_key = "mock_secret_key"
}
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.1"
version = ">= 3.74"
}
local = {
source = "hashicorp/local"
Expand Down

2 comments on commit ec1e130

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

Project Previous New Diff
cn-terraform/terraform-aws-ecs-...e-scheduled-task/examples/test $0 $146 +$146
Infracost output
Project: cn-terraform/terraform-aws-ecs-fargate-scheduled-task/examples/test

+ module.base-network.aws_eip.nat_eip[0]
  +$3.65

    + IP address (if unused)
      +$3.65

+ module.base-network.aws_eip.nat_eip[1]
  +$3.65

    + IP address (if unused)
      +$3.65

+ module.base-network.aws_eip.nat_eip[2]
  +$3.65

    + IP address (if unused)
      +$3.65

+ module.base-network.aws_eip.nat_eip[3]
  +$3.65

    + IP address (if unused)
      +$3.65

+ 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

Monthly cost change for cn-terraform/terraform-aws-ecs-fargate-scheduled-task/examples/test
Amount:  +$146 ($0.00 β†’ $146)

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

50 cloud resources were detected, rerun with --show-skipped to see details:
βˆ™ 8 were estimated, 4 include usage-based costs, see https://infracost.io/usage-file
βˆ™ 42 were free

Add cost estimates to your pull requests: https://infracost.io/cicd
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 $146 πŸ“ˆ

Project Previous New Diff
cn-terraform/terraform-aws-ecs-...e-scheduled-task/examples/test $0 $146 +$146
Infracost output
Project: cn-terraform/terraform-aws-ecs-fargate-scheduled-task/examples/test

+ module.base-network.aws_eip.nat_eip[0]
  +$3.65

    + IP address (if unused)
      +$3.65

+ module.base-network.aws_eip.nat_eip[1]
  +$3.65

    + IP address (if unused)
      +$3.65

+ module.base-network.aws_eip.nat_eip[2]
  +$3.65

    + IP address (if unused)
      +$3.65

+ module.base-network.aws_eip.nat_eip[3]
  +$3.65

    + IP address (if unused)
      +$3.65

+ 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

Monthly cost change for cn-terraform/terraform-aws-ecs-fargate-scheduled-task/examples/test
Amount:  +$146 ($0.00 β†’ $146)

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

50 cloud resources were detected, rerun with --show-skipped to see details:
βˆ™ 8 were estimated, 4 include usage-based costs, see https://infracost.io/usage-file
βˆ™ 42 were free

Add cost estimates to your pull requests: https://infracost.io/cicd
Is this comment useful? Yes, No

Please sign in to comment.