asteris-llc / converge

A powerful and easy-to-use configuration management system.
Apache License 2.0
250 stars 31 forks source link

URL module? #620

Open zeisss opened 7 years ago

zeisss commented 7 years ago

Most of the cloud providers have a (http based) metadata api for nodes to fetch some information about themself.

It would be nice if converge would have a url module to fetch those resources and be able to parse the response (mostly JSON afaik) into usable variables.

rebeccaskinner commented 7 years ago

This feature has been discussed and it's something we'd definitely like to have support for in some form. Rather than a URL module we're likely to implement a more general solution for getting data from external data sources, including both cloud provider metadata as well as info from things like consul, etcd, vault, etc.

It doesn't look like we have an existing issue outlining this exact use-case though so I'm going to go ahead and tag it so we can take a look soon.