Terraform Module Design: Module Inheritance
EPISODE 48 In this episode, we'll refactor our Azure DevOps codebase by extracting out some modules. First we'll start with the Azure DevOps Variable Group that we used for creating Azure credentials that our Terraform pipeline can use. We'll create a Terraform module that can create a Variable Group specifically for Azure Credentials and we'll create a more generic module that simplifies creating Variable Groups in general. We'll look at how we can use inheritance within Terraform Modules to infuse greater reusability and simplify developers lives by creating highly opinionated variants. Follow me on Twitter for quick code snippets and thoughts on Cloud, Automation and other things! https://twitter.com/MarkTinderholt Keep the knowledge flowing! https://www.buymeacoffee.com/azterraformer Source Code: https://github.com/markti/terraform-azuredevops-azure-terraformer Azure DevOps Provider https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs v0.5.0 https://registry.terraform.io/providers/microsoft/azuredevops/0.5.0 Terraform Resource List: - azuredevops_variable_group - azuredevops_project
Download
0 formatsNo download links available.