Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
mariomcosta opened this issue Oct 28, 2024 · 0 comments · Fixed by #427
Closed
1 task done

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

mariomcosta opened this issue Oct 28, 2024 · 0 comments · Fixed by #427

Comments

@mariomcosta
Copy link
Contributor

mariomcosta commented Oct 28, 2024

  • ✋ I have searched the open/closed issues and my issue is not listed.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant