late-salesmen-2537512/02/2020, 9:38 PM
output the IPv4 and the name of each server for the output which didn’t work when spinning up more than just the one.
I thought maybe I could create an Output class sort of like a Model and use that to build my output for the resource types I was building but that sort of didn’t work or . Maybe that is just unnecessary complexity but I thought it might make the project a little cleaner or have the output models in a separate project that could be reused across other projects and I just add a reference to that project. Maybe a NuGet type thing to import that would give you access to all the output information so you didn’t have to rewrite that code again?
Any examples of something like this or is this just going about it the wrong way? Or any examples of how others are doing it. I have a very small use case for what I am doing here but could see this being useful in larger build outs of infrastructure in the future. Again I am not a seasoned developer so sorry if someone of this sounds like WTH is this guy talking about. Thanks for any insight.
tall-librarian-4937412/02/2020, 10:04 PM
with keys=names and values=IPs. Does that sound about right?
late-salesmen-2537512/02/2020, 10:17 PM