Terraform stack provider
To better support developing stack templates in Terraform, we have published the Nuon Stack Terraform Provider. Terraform has proven to be a powerful and flexible way to provision and manage stacks. But they require some repetitive boilerplate, and exposing internal stack configuration to customers. We felt we needed a more first-class integration between these templates and the Nuon control plane. The new stack provider is that integration. We are using it today in our open-source terraform stack templates. If you want to use it build your own templates, using the provider is simple. Add the provider to your terraform module.providers.tf
stack_config data source to read the internal stack config values from the control plane.
locals.tf
stack_phone_home resource to send the phone home request to the control plane once the required resources have provisioned.
phone_home.tf
inputs.auto.tfvars