{"id":15176311,"url":"https://github.com/hashicorp/terraform-provider-random","last_synced_at":"2026-03-07T23:31:40.513Z","repository":{"id":37866408,"uuid":"93446128","full_name":"hashicorp/terraform-provider-random","owner":"hashicorp","description":"Utility provider that supports the use of randomness within Terraform configurations.","archived":false,"fork":false,"pushed_at":"2026-03-02T09:35:04.000Z","size":13243,"stargazers_count":224,"open_issues_count":37,"forks_count":131,"subscribers_count":16,"default_branch":"main","last_synced_at":"2026-03-02T12:54:53.923Z","etag":null,"topics":["random","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/hashicorp/random/latest","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashicorp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-06-05T20:54:14.000Z","updated_at":"2026-03-02T09:35:07.000Z","dependencies_parsed_at":"2026-03-02T11:01:21.033Z","dependency_job_id":null,"html_url":"https://github.com/hashicorp/terraform-provider-random","commit_stats":{"total_commits":777,"total_committers":65,"mean_commits":"11.953846153846154","dds":0.646074646074646,"last_synced_commit":"090d0137e4bf90562d13132cffe4867ef80b61a3"},"previous_names":["terraform-providers/terraform-provider-random"],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/hashicorp/terraform-provider-random","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-random","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-random/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-random/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-random/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp","download_url":"https://codeload.github.com/hashicorp/terraform-provider-random/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-random/sbom","scorecard":{"id":355250,"data":{"date":"2025-08-11","repo":{"name":"github.com/hashicorp/terraform-provider-random","commit":"2d525bf85fdc9447591c32217dcbf2d819faab57"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.2,"checks":[{"name":"Maintained","score":10,"reason":"22 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":8,"reason":"Found 6/7 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci-changie.yml:15","Info: topLevel 'contents' permission set to 'read': .github/workflows/compliance.yml:7","Warn: no topLevel permission defined: .github/workflows/issue-comment-triage.yml:1","Warn: no topLevel permission defined: .github/workflows/issue-opened.yml:1","Warn: no topLevel permission defined: .github/workflows/lock.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":7,"reason":"dependency not pinned by hash detected -- score normalized to 7","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:147: update your workflow using https://app.stepsecurity.io/secureworkflow/hashicorp/terraform-provider-random/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/hashicorp/terraform-provider-random/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/hashicorp/terraform-provider-random/build.yml/main?enable=pin","Info:  17 out of  17 GitHub-owned GitHubAction dependencies pinned","Info:   7 out of  10 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Mozilla Public License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.7.1 not signed: https://api.github.com/repos/hashicorp/terraform-provider-random/releases/202369370","Warn: release artifact v3.7.0 not signed: https://api.github.com/repos/hashicorp/terraform-provider-random/releases/202362650","Warn: release artifact v3.6.3 not signed: https://api.github.com/repos/hashicorp/terraform-provider-random/releases/174566712","Warn: release artifact v3.7.1 does not have provenance: https://api.github.com/repos/hashicorp/terraform-provider-random/releases/202369370","Warn: release artifact v3.7.0 does not have provenance: https://api.github.com/repos/hashicorp/terraform-provider-random/releases/202362650","Warn: release artifact v3.6.3 does not have provenance: https://api.github.com/repos/hashicorp/terraform-provider-random/releases/174566712"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/hashicorp/.github/SECURITY.md:1","Info: Found linked content: github.com/hashicorp/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/hashicorp/.github/SECURITY.md:1","Info: Found text in security policy: github.com/hashicorp/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":6,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Info: codeowner review is required on branch 'main'","Info: 'last push approval' is required to merge on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T09:22:33.907Z","repository_id":37866408,"created_at":"2025-08-18T09:22:33.907Z","updated_at":"2025-08-18T09:22:33.907Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30237329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T23:24:20.706Z","status":"ssl_error","status_checked_at":"2026-03-07T23:21:10.486Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["random","terraform","terraform-provider"],"created_at":"2024-09-27T13:02:04.653Z","updated_at":"2026-03-07T23:31:40.472Z","avatar_url":"https://github.com/hashicorp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Provider: Random\n\nThe Random provider supports the use of randomness within Terraform configurations. The\nprovider resources can be used to generate a random [id](docs/resources/id.md),\n[integer](docs/resources/integer.md), [password](docs/resources/password.md),\n[pet](docs/resources/pet.md), [shuffle](docs/resources/shuffle.md) (random permutation\nof a list of strings), [string](docs/resources/string.md) or \n[uuid](docs/resources/uuid.md).\n\n## Documentation, questions and discussions\n\nOfficial documentation on how to use this provider can be found on the\n[Terraform Registry](https://registry.terraform.io/providers/hashicorp/random/latest/docs).\nIn case of specific questions or discussions, please use the\nHashiCorp [Terraform Providers Discuss forums](https://discuss.hashicorp.com/c/terraform-providers/31),\nin accordance with HashiCorp [Community Guidelines](https://www.hashicorp.com/community-guidelines).\n\nWe also provide:\n\n* [Support](.github/SUPPORT.md) page for help when using the provider\n* [Contributing](.github/CONTRIBUTING.md) guidelines in case you want to help this project\n* [Design](DESIGN.md) documentation to understand the scope and maintenance decisions\n\nThe remainder of this document will focus on the development aspects of the provider.\n\n## Requirements\n\n* [Terraform](https://www.terraform.io/downloads) (\u003e= 0.12)\n* [Go](https://go.dev/doc/install) (1.23)\n* [GNU Make](https://www.gnu.org/software/make/)\n* [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional)\n\n## Development\n\n### Building\n\n1. `git clone` this repository and `cd` into its directory\n2. `make build` will trigger the Golang build\n\nThe provided `GNUmakefile` defines additional commands generally useful during development,\nlike for running tests, generating documentation, code formatting and linting.\nTaking a look at it's content is recommended.\n\n### Testing\n\nIn order to test the provider, you can run\n\n* `make test` to run provider tests\n* `make testacc` to run provider acceptance tests\n\nIt's important to note that acceptance tests (`testacc`) will actually spawn\n`terraform` and the provider. Read more about they work on the\n[official page](https://www.terraform.io/plugin/sdkv2/testing/acceptance-tests).\n\n### Generating documentation\n\nThis provider uses [terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs/)\nto generate documentation and store it in the `docs/` directory.\nOnce a release is cut, the Terraform Registry will download the documentation from `docs/`\nand associate it with the release version. Read more about how this works on the\n[official page](https://www.terraform.io/registry/providers/docs).\n\nUse `make generate` to ensure the documentation is regenerated with any changes.\n\n### Using a development build\n\nIf [running tests and acceptance tests](#testing) isn't enough, it's possible to set up a local terraform configuration\nto use a development builds of the provider. This can be achieved by leveraging the Terraform CLI\n[configuration file development overrides](https://www.terraform.io/cli/config/config-file#development-overrides-for-provider-developers).\n\nFirst, use `make install` to place a fresh development build of the provider in your [`${GOBIN}`](https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies) (defaults to `${GOPATH}/bin` or `${HOME}/go/bin` if `${GOPATH}` is not set). Repeat\nthis every time you make changes to the provider locally.\n\nThen, in your `${HOME}/.terraformrc` (Unix) / `%APPDATA%\\terraform.rc` (Windows), a `provider_installation` that contains\nthe following `dev_overrides`:\n\n```hcl\nprovider_installation {\n  dev_overrides {\n    \"hashicorp/random\" = \"${GOBIN}\" //\u003c replace `${GOBIN}` with the actual path on your system\n  }\n\n  direct {}\n}\n```\n\nNote that it's also possible to use a dedicated Terraform configuration file and invoke `terraform` while setting\nthe environment variable `TF_CLI_CONFIG_FILE=my_terraform_config_file`.\n\nOnce the `dev_overrides` are in place, any local execution of `terraform plan` and `terraform apply` will\nuse the version of the provider found in the given `${GOBIN}` directory,\ninstead of the one indicated in your terraform configuration.\n\n### Testing GitHub Actions\n\nThis project uses [GitHub Actions](https://docs.github.com/en/actions/automating-builds-and-tests) to realize its CI.\n\nSometimes it might be helpful to locally reproduce the behaviour of those actions,\nand for this we use [act](https://github.com/nektos/act). Once installed, you can _simulate_ the actions executed\nwhen opening a PR with:\n\n```shell\n# List of workflows for the 'pull_request' action\n$ act -l pull_request\n\n# Execute the workflows associated with the `pull_request' action \n$ act pull_request\n```\n\n## Releasing\n\nThe releasable builds are generated from the [build GH workflow](./.github/workflows/build.yml) and the release/promotion process\nis completed via internal HashiCorp deployment tooling. Prior to release, the changelog should be updated in `main` with\nthe changie tool, example:\n\n```sh\nchangie batch 3.7.2 \u0026\u0026 changie merge\n```\n\n## License\n\n[Mozilla Public License v2.0](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-provider-random","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashicorp%2Fterraform-provider-random","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-provider-random/lists"}