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
269 stars 127 forks source link

hashicorp/random does not support resource type "random_bytes" #426

Closed mariomcosta closed 3 weeks ago

mariomcosta commented 3 weeks ago

Please describe your question here

I have a module that reuses many other Terraform resources including aws-ia/terraform-aws-eks-blueprints-addons but after pull/425 our integration started to broke with this error message:

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

I looked up and found that random_bytes it's only available from 3.6.0 as we can see here

So my question is if we need to bump the versions.tf file to request >= 3.6 or it's just my module's responsibility to deal with this case. PS: If I just add the ~> 3.6.0 as a requirement into my modules it just works as it matches the given constraint ">= 3.0.0, ~> 3.6.0".

If it's relevant, the PR is opened with this simple change. PR 427

Provide a link to the example/module related to the question

As it's private I'm not allowed to share but it would be a pleasure to provide any other relevant details about it.

Additional context

No more relevant information.