Skip to content

Commit

Permalink
chore: bump the Terraform dependencies group (#110)
Browse files Browse the repository at this point in the history
* chore: bump the dependencies group across 8 directories with 3 updates

Updates the requirements on [hashicorp/aws](https://github.com/hashicorp/terraform-provider-aws), [terraform-aws-modules/ecr/aws](https://github.com/terraform-aws-modules/terraform-aws-ecr) and [terraform-aws-modules/acm/aws](https://github.com/terraform-aws-modules/terraform-aws-acm) to permit the latest version.

Updates `hashicorp/aws` from 5.39.1 to 5.49.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-provider-aws@v5.39.1...v5.49.0)

Updates `terraform-aws-modules/ecr/aws` to 2.2.1
- [Release notes](https://github.com/terraform-aws-modules/terraform-aws-ecr/releases)
- [Changelog](https://github.com/terraform-aws-modules/terraform-aws-ecr/blob/master/CHANGELOG.md)
- [Commits](terraform-aws-modules/terraform-aws-ecr@v1.6.0...v2.2.1)

Updates `hashicorp/aws` to 5.49.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-provider-aws@v5.39.1...v5.49.0)

Updates `hashicorp/aws` from 5.39.1 to 5.49.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-provider-aws@v5.39.1...v5.49.0)

Updates `terraform-aws-modules/acm/aws` to 5.0.1
- [Release notes](https://github.com/terraform-aws-modules/terraform-aws-acm/releases)
- [Changelog](https://github.com/terraform-aws-modules/terraform-aws-acm/blob/master/CHANGELOG.md)
- [Commits](terraform-aws-modules/terraform-aws-acm@v4.0.0...v5.0.1)

Updates `hashicorp/aws` to 5.49.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-provider-aws@v5.39.1...v5.49.0)

Updates `hashicorp/aws` to 5.49.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-provider-aws@v5.39.1...v5.49.0)

Updates `hashicorp/aws` to 5.49.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-provider-aws@v5.39.1...v5.49.0)

Updates `terraform-aws-modules/ecr/aws` to 2.2.1
- [Release notes](https://github.com/terraform-aws-modules/terraform-aws-ecr/releases)
- [Changelog](https://github.com/terraform-aws-modules/terraform-aws-ecr/blob/master/CHANGELOG.md)
- [Commits](terraform-aws-modules/terraform-aws-ecr@v1.6.0...v2.2.1)

Updates `terraform-aws-modules/acm/aws` to 5.0.1
- [Release notes](https://github.com/terraform-aws-modules/terraform-aws-acm/releases)
- [Changelog](https://github.com/terraform-aws-modules/terraform-aws-acm/blob/master/CHANGELOG.md)
- [Commits](terraform-aws-modules/terraform-aws-acm@v4.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: hashicorp/aws
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: terraform-aws-modules/ecr/aws
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: hashicorp/aws
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: hashicorp/aws
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: terraform-aws-modules/acm/aws
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: hashicorp/aws
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: hashicorp/aws
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: hashicorp/aws
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: terraform-aws-modules/ecr/aws
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: terraform-aws-modules/acm/aws
  dependency-type: direct:production
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: fix `acm` and `ecr` module

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JoshuaLicense <[email protected]>
  • Loading branch information
dependabot[bot] and JoshuaLicense authored May 13, 2024
1 parent f39a1b2 commit d77650d
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 51 deletions.
34 changes: 17 additions & 17 deletions infra/terraform/accounts/nonprod/.terraform.lock.hcl

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

2 changes: 1 addition & 1 deletion infra/terraform/accounts/nonprod/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.39.0"
version = "~> 5.49.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/accounts/prod/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.39.0"
version = "~> 5.49.0"
}
}

Expand Down
34 changes: 17 additions & 17 deletions infra/terraform/environments/dev/.terraform.lock.hcl

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

2 changes: 1 addition & 1 deletion infra/terraform/environments/dev/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.39.0"
version = "~> 5.49.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/environments/int/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.39.0"
version = "~> 5.49.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/environments/prep/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.39.0"
version = "~> 5.49.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/environments/prod/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.39.0"
version = "~> 5.49.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/modules/account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
| Name | Source | Version |
|------|--------|---------|
| <a name="module_assets"></a> [assets](#module\_assets) | terraform-aws-modules/s3-bucket/aws | ~> 4.0 |
| <a name="module_ecr"></a> [ecr](#module\_ecr) | terraform-aws-modules/ecr/aws | ~> 1.6 |
| <a name="module_ecr"></a> [ecr](#module\_ecr) | terraform-aws-modules/ecr/aws | ~> 2.2 |
| <a name="module_github"></a> [github](#module\_github) | ../../modules/github | n/a |

## Resources
Expand Down
20 changes: 14 additions & 6 deletions infra/terraform/modules/account/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module "ecr" {
for_each = toset(local.repositories)

source = "terraform-aws-modules/ecr/aws"
version = "~> 1.6"
version = "~> 2.2"

repository_name = "vol-app/${each.key}"

Expand Down Expand Up @@ -60,14 +60,22 @@ module "ecr" {
registry_scan_rules = [
{
scan_frequency = "SCAN_ON_PUSH"
filter = "*"
filter_type = "WILDCARD"
filter = [
{
filter = "*",
filter_type = "WILDCARD"
}
],
},
{
scan_frequency = "CONTINUOUS_SCAN"
filter = "*.*.*"
filter_type = "WILDCARD"
}
filter = [
{
filter = "*.*.*",
filter_type = "WILDCARD"
},
],
},
]
}

Expand Down
4 changes: 2 additions & 2 deletions infra/terraform/modules/service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

| Name | Source | Version |
|------|--------|---------|
| <a name="module_acm"></a> [acm](#module\_acm) | terraform-aws-modules/acm/aws | ~> 4.0 |
| <a name="module_acm"></a> [acm](#module\_acm) | terraform-aws-modules/acm/aws | ~> 5.0 |
| <a name="module_cloudfront"></a> [cloudfront](#module\_cloudfront) | terraform-aws-modules/cloudfront/aws | ~> 3.4 |
| <a name="module_ecs_cluster"></a> [ecs\_cluster](#module\_ecs\_cluster) | terraform-aws-modules/ecs/aws//modules/cluster | ~> 5.10 |
| <a name="module_ecs_service"></a> [ecs\_service](#module\_ecs\_service) | terraform-aws-modules/ecs/aws//modules/service | ~> 5.10 |
| <a name="module_log_bucket"></a> [log\_bucket](#module\_log\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 4.0 |
| <a name="module_records"></a> [records](#module\_records) | terraform-aws-modules/route53/aws//modules/records | ~> 2.0 |
| <a name="module_route53_records"></a> [route53\_records](#module\_route53\_records) | terraform-aws-modules/acm/aws | ~> 4.0 |
| <a name="module_route53_records"></a> [route53\_records](#module\_route53\_records) | terraform-aws-modules/acm/aws | ~> 5.0 |

## Resources

Expand Down
6 changes: 4 additions & 2 deletions infra/terraform/modules/service/cdn.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ locals {

module "acm" {
source = "terraform-aws-modules/acm/aws"
version = "~> 4.0"
version = "~> 5.0"

domain_name = "${local.subdomain}.${local.domain_name}"
zone_id = data.aws_route53_zone.public.id

validation_method = "DNS"

create_route53_records = false
validation_record_fqdns = module.route53_records.validation_route53_record_fqdns

Expand All @@ -49,7 +51,7 @@ module "acm" {

module "route53_records" {
source = "terraform-aws-modules/acm/aws"
version = "~> 4.0"
version = "~> 5.0"

create_certificate = false
create_route53_records_only = true
Expand Down

0 comments on commit d77650d

Please sign in to comment.