aws-ia / terraform-aws-eks-blueprints-addons

Terraform module which provisions addons on Amazon EKS clusters
https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/
Apache License 2.0
272 stars 127 forks source link

fix: Raise min required version of `hashicorp/random` provider to `v3.6` #427

Closed mariomcosta closed 4 weeks ago

mariomcosta commented 4 weeks ago

It's due to this error:

The provider hashicorp/random does not support resource type "random_bytes"

PR that introduced this scenario: https://github.com/aws-ia/terraform-aws-eks-blueprints-addons/pull/425

Random provider documentation: https://registry.terraform.io/providers/hashicorp/random/3.6.0/docs

What does this PR do?

Just bump the required hashicorp/random provider to request at least version 3.6.0 to support the random_bytes resource.

Motivation

More

Initializing provider plugins...
- terraform.io/builtin/terraform is built in to Terraform
- Finding hashicorp/random versions matching ">= 3.6.0, ~> 3.6.0"...
...
- Installing hashicorp/random v3.6.3...
- Installed hashicorp/random v3.6.3 (signed by HashiCorp)
...
Terraform has been successfully initialized!

pre-commit run -a

$ pre-commit run -a
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
trim trailing whitespace.................................................Passed
check for merge conflicts................................................Passed
detect private key.......................................................Passed
detect aws credentials...................................................Passed
Terraform fmt............................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Passed
Terraform validate.......................................................Passed

For Moderators

Additional Notes