You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.
As discussed on Slack, I don’t think this is something that should be added to the go-cloudstack package. Instead I think you should create this logic in the data resource itself.
So just do a list of all templates and then search true them matching the names against the regex and maybe using the create date to determine which is the latest version.
I'll close this issue now since we discussed the options. Feel free to reopen or ping me again on Slack if you have further questions. Looking forward to the PR for adding this support 😉
@svanharmelen as this is the very first datasource for this provider I'll not be able to use my usual Copy Paste Replace Driven Development :-)
I'll try to figure out how to do it but it would take me a lot a time.
Do you have the skills (and time) to it quickly (at least some skeleton)?
It would be nice to have a
cloudstack_template
datasource that would return the latest template matching a pattern. For example:The text was updated successfully, but these errors were encountered: