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

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

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

mariomcosta
Copy link
Contributor

It's due to this error:

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

PR that introduced this scenario:
#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

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • 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

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

It's due to this error:

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

PR that introduced this scenario:
aws-ia#425

Randon provider documentation:
https://registry.terraform.io/providers/hashicorp/random/3.6.0/docs
@mariomcosta mariomcosta requested a review from a team as a code owner October 28, 2024 18:48
@bryantbiggs bryantbiggs changed the title bump hashicorp/random provider to require v3.6 fix: Raise min required version of hashicorp/random provider to v3.6 Oct 28, 2024
Copy link
Contributor

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@bryantbiggs bryantbiggs merged commit d115be8 into aws-ia:main Oct 28, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hashicorp/random does not support resource type "random_bytes"
2 participants