-
Notifications
You must be signed in to change notification settings - Fork 120
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
random_id
prints sensitive data to console
#66
Comments
Hello @geekofalltrades we recently have being evaluating resources within this provider and their "intended usage". While you mention this resource could be a perfect candidate for secrets, it was intended to only be an ID (and not sensitive). We have recently merged a new resource |
@teamterraform |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
The id attribute of random_id should be none, like random_string, in case it is being used to generate a secret value.
Actual Behavior
The id attribute of the random_id is the randomly generated id, causing it to be displayed on the console:
This is a shame, because this resource, with its
byte_length
argument andb64_std
attribute, is otherwise perfect for generating an etcd encryption key for Kubernetes.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
Important Factoids
N/A
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: