Just bump the required hashicorp/random provider to request at least version 3.6.0 to support the random_bytes resource.
Motivation
Resolves #426
More
[X] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[X] Yes, I ran pre-commit run -a with this PR
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
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 therandom_bytes
resource.Motivation
More
pre-commit run -a
with this PRpre-commit run -a
For Moderators
Additional Notes