Hi Octopus!
We are using Octopus Cloud + Terraform with great success. However the limitation of what is installed on either the octopus server or tentacle is a bit of a blocker. We are using Terraform and a common approach is to use ‘modules’. these modules are often git repos and are reference like so:
I gather this would require git to be installed on either the tentacle or the octopus server. From what I understand that i can use a worker for this instead, but if we have first class terraform support I would have assumed that this might be supported.
Glad to hear you’ve been having great success with your Octopus Cloud server . Git is not installed on your Octopus Cloud server however, you can run a step prior to the step that runs Terraform to install it. The one thing to keep in mind is that should something happen to your server, and it’s replaced, the new server won’t have git installed so the step you write will need to check for its existence and install it if necessary.
Yeah that’s correct re: Chocolately requiring administrative rights by default which customers do not have when running commands on their Octopus Cloud server.
Otherwise, you could also try the old school approach by using Invoke-WebRequest to download the Git installer and then using Start-Process to run the installer. For example: