Building custom variable sets to import

i need to set up a new v3 octopus instance soon and we wanted to use this opportunity to fix everything that was wrong with our old setup. We plan to use a lot of variable sets and we are wondering if there is a way we can write them by hand into a file that we could then import into v3 of octopus instead of entering them one by one in the web interface? We will not but able to setup the new server for a month or 2 but we are hoping to prepare our larger variable sets in advance to save a lot of time with the setup. We don’t currently plan to migrate our existing v2.6 setup over but instead start from scratch.

Hi Chris,

Thanks for getting in touch. I’m currently working on a Powershell script to add variables from a file. The file with the variables would look pretty much like this:

I’m gonna have it ready sometime next week. I’ll let you know via this thread.