-
Notifications
You must be signed in to change notification settings - Fork 118
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
Added additional option for the provider to fix the issue of printing the generated string in logs. #36
Conversation
…igning the result to the ID
Acceptance test output:
|
This PR should hopefully address Issue #17 by adding an additional type 'password' which hides the output of the ID. Possibly a better solution than PR #18 as it won't break any existing terraform code that is referencing the random_string.id..? This would be a good fix for us, and there is quite a lot of chat on the internet about random_string exposing the string. Let me know thoughts? |
FYI, the output will look as follows; main.tf
Terraform Apply
|
looks ok |
@apparentlymart thoughts? |
What have I got to do to get a review on this @phinze @apparentlymart @jefferai @jbardin |
hio @danmerron-sig, Sorry about the delay here. This provider is maintained by the core team, and we have been quite distracted by the large chunk of work going on for 0.12. I added reviewers directly to this PR to help prevent it from getting lost in the shuffle, and we can take a look at it shortly. |
Hi @danmerron-sig, Do you think it would be beneficial to refactor (I should clarify that this is a genuine question; I am not as familiar with providers as I could be) |
@mildwonkey You could be right - however I think the problem is making sure that we don't create a breaking change to get this merged. There was another PR that solved this in a much more elegant way however it would most likely break a lot of user code! |
Hi @dpmerron-ltd! Thank you again for the work you've done here. I am going to close this PR in favor of #18; the next release of the random provider (which I am planning to do in the next few days) will be released as a breaking change. |
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. |
This PR should hopefully address Issue #17 by adding an additional type 'password' which hides the output of the ID. Possibly a better solution than PR #18 as it won't break any existing terraform code that is referencing the random_string.id..?
This would be a good fix for us, and there is quite a lot of chat on the internet about random_string exposing the string.
Let me know thoughts?