I agree with Jason — once you build out your templates and ensure terraform is installed on your agents, it should be as simple as running `terraform apply -auto-approve` in your build. GoCD can run anything you can run in a terminal, the only caveat being that commands must be non-interactive. GoCD cannot respond to input prompts.
I’m sure there are plenty of tutorials for terraform quick starts. Have a look at the `azurerm` provider documentation as well. It’s quite good. I’ve used this a lot as I’ve recently found myself building a lot of azure infra as of late. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs On Fri, Jun 4, 2021 at 8:11 AM Jason Smyth <[email protected]> wrote: > Hello, > > GoCD can interact with anything that has a command line interface, so > deploying Azure resources into Azure using Terraform templates should be > possible. > > I would start with learning Terraform and how to manage a single > Terraformed deployment from multiple client machines. I do not know a lot > about Terraform, but I do know that this will involve, at least, choosing > and implementing a remote location for storing Terraform state information. > You will also need to decide how you will manage getting the Terraform > secrets into the GoCD Agents. > > Once you have a solid understanding of how Terraform works, I would think > it should be fairly trivial to write some wrapper scripts for GoCD to > leverage. > > Hope this helps, > Jason Smyth > > > On Friday, 4 June 2021 at 08:54:46 UTC-4 [email protected] wrote: > >> Hello all, >> >> Can anybody point me to "starter" documentation on how to deploy Azure >> resources into Azure using GoCD and Terraform templates. >> >> Is this even possible with GoCD at the moment? >> > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/6bef3e33-7ddf-4877-9b48-575a9df50733n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/6bef3e33-7ddf-4877-9b48-575a9df50733n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAPKX9jZmxHNFqvf%2Bha%3DT0kZ%2Br%2BywGx_RSLW-53ApzOXePgF5-w%40mail.gmail.com.
