Azure / buffalo-azure

A gobuffalo plugin for working with Azure.
https://gobuffalo.io/en/docs/plugins
MIT License
29 stars 9 forks source link

Support a Buffalo-Azure config File #40

Open marstr opened 6 years ago

marstr commented 6 years ago

Cobra/viper offer an easy way of reading in a configuration file. However, It's unclear to me how any overloaded options between commands would resolve. Looking into that story, to ensure that we have a compelling answer, before just shipping with the default behavior seems prudent.

marstr commented 6 years ago

Config file support disabled by commenting out the following line: https://github.com/Azure/buffalo-azure/blob/d38df85443233dc0a5bd857f491faa81234dae15/cmd/root.go#L54

marstr commented 6 years ago

I'm reducing the priority on this because we've essentially already done this. Parsing in the project's .env file and reading the azuredeploy.parameters.json is likely good enough.