-
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
add new resource random_password #52
Conversation
6c934d3
to
25373fe
Compare
@mildwonkey Hopefully this will serve as a final solution to this problem. |
@appilon Is there anything I can do on this pull request to help it get merged. It helps to solve a big problem for us. Thanks |
Is there anything to do with that PR? Could it be merged please? |
Why not just add a (Please note that I am not an expert at Terraform's internals or provider development, this is just the API design I would have imagined.) |
It is my understanding that the set of attributes that controls the "sensitive" behaviour is read in, and processed, prior to any .tf files even being read. |
ping @appilon |
No that terraform 0.12 is there, is there any hope to see a merge sometime soon? |
@appilon ... is there anything blocking this from being merged? If so, please reply and let us all know. That will help us address any concerns so we can ultimately get this very desirable feature. |
Hello, apologies for taking a long time to address this. In response to demand I was going to actually supersede this PR with this #67. However there would be a drawback that It seems our docs indicate Longterm it's possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @appilon ! This LGTM, I left one little edit in a doc, otherwise this is good to merge.
Hey! Is there a migration path from For example, I have a module that builds AWS RDS instances and includes a
I don't see an "import" function either on the |
@jcarlson I just had the same question. I would say your comment should be a separate issue. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
As a final solution to #17/#47, add a new resource random_password which is identical
to random_string except that it treats the result as Sensitive data and avoids writing it
to the console. The new resource shares the vast majority of its code with random_string
and intends to simply be a mirror of that resource.
This change also restores the pre #18 (v1.x) behaviour of random_string since scrubbing
the id field is no longer necessary for that resource.