-
Notifications
You must be signed in to change notification settings - Fork 48
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: set credential as password #151
Conversation
Could either @volodymyrZotov or @jpcoenen please review/merge this? This is a major hindrance whilst item type parity is lacking. |
@SMillerDev I looked at it; unfortunately, this implementation doesn't work. The You can use
However, that would fix the problem only partially. To summarise, let's check |
Fixed, let me know what else |
@SMillerDev The change is inside Let's put |
Sorry, misunderstood your comment. Does this work? |
@SMillerDev Thinking more about this, there are several questions I have.
So then in to code toy would set it like
|
Those all sound fine. I didn't really want to get too invasive with my changes so I kept them small, but happy to tweak them like that |
I'd appreciate it if you could do that. I have another question though. The changes are only for data-source. Is it possible to do the same for the resource types? |
If this one works for you I'll add it to the resource too. |
@SMillerDev, sorry for the delay. I wanted to bring to your attention that we've recently migrated to the new We really appreciate the time and effort that you have already put into this PR. If you have some additional time to spare and you're still interested in having this change applied, please go ahead and modify this PR to make it compatible with the latest v2 version of this provider, at which point we'd be happy to review it again. Thank you! 😊 |
No problem, it's really not that much time I've spend on this. I'll check again later |
Okay, updated with the latest changes. Let me know if this is good and I'll add it to the resource. |
Hi @SMillerDev . Had a chance to test it. It works fine.👍
Then just push updated documentation. |
Cool, I think I can do that and the resource today. |
@SMillerDev I've just noticed that the |
I think it would certainly make it faster if you can give some instructions, I don't have that much time (or interest) in a deep dive into tf provider testing. You're also very welcome to push to my branch or just copy my changes if that's easier. I'm not doing this for my portfolio/credits, I'd just like to use credentials in the data source 😁 |
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.
✅ Approved it.
You can fetch 'credential' items using data-source now. The resource is not supported in this PR and can be added in a separate one.
A very naive fix for #52