blog-devto
Azure-Terraform-Deployments
Our great sponsors
blog-devto | Azure-Terraform-Deployments | |
---|---|---|
15 | 5 | |
26 | 35 | |
- | - | |
9.4 | 8.2 | |
22 days ago | 19 days ago | |
PowerShell | HCL | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
blog-devto
-
Automating Terraform Documentation with Terraform-Docs and Azure DevOps
Let's take a closer look at the following Multi-Stage pipeline for windows. (for linux based build agents see this Multi-Stage pipeline for linux instead).
-
Auto generate documentation from Terraform modules
Take a look here to see what the README.md document looks like: example_README.md
-
Upload files to Azure Virtual Machines with Azure Bastion in tunnel mode
Next I will be using Azure CLI in a PowerShell script below called: Bastion_Setup.ps1 to set up the Bastion Host:
-
Implement CI/CD with GitHub - Deploy Azure Functions
Lets start by creating a resource group and a windows dotnet function app in our Azure subscription. For this step I have written a PowerShell script using Azure CLI. You can also find ths script on my GitHub repository.
-
Multi environment AZURE deployments with Terraform and GitHub (Part 2)
I hope you have enjoyed this post and have learned something new. You can find the code samples used in this blog post on my Github page. You can also look at the demo project or even create your own projects and workflows from the demo project template repository. ❤️
-
Get email alerts from serverless Azure functions using SendGrid
To set up the function app I wrote a PowerShell script using AZ CLI, that would build and configure the function app to use as a demo for this tutorial. There was one manual step however I will cover a bit later on. You can find the script I used on my github code page called Azure-Pre-Reqs.ps1.
-
Automate Azure Resource Decommissions (with tracking)
The following function app code can also be found under my github code page called run.ps1.
-
Automate Azure Service Bus SAS tokens with Github
NOTE: A complete script for all the steps/Pre-Reqs described in building the environment can be found on my GitHub code page
-
Upload Files to Azure Storage using a PowerShell Function App
To stage and setup the entire environment for my API automatically I wrote a PowerShell script using AZ CLI, that would build and configure all the things I would need to start work on my function. There was one manual step however I will cover a bit later on. But for now you can find the script I used on my github code page called setup_environment.ps1.
-
Terraform IaC Scanning with Trivy
This tutorial is based on the following Azure DevOps Repository blueprint, which will use a CI/CD YAML pipeline to deploy an Azure Virtual Network using terraform IaC configuration files.
Azure-Terraform-Deployments
-
Auto generate documentation from Terraform modules
In my GitHub repository called: Azure-Terraform-Deployments, notice that I have structured my terraform module code with folders using a numbering system e.g: '01_Foundation', '02_Storage', etc.
-
Terraform - Creating dynamic variables using locals
VNET integration resource (appservices.tf)
-
Terraform - Sensitive Output
This tutorial uses examples from the following GitHub project: Azure Terraform Deployments.
-
Multi environment AZURE deployments with Terraform and GitHub (Part 2)
I hope you have enjoyed this post and have learned something new. You can find the code samples used in this blog post on my Github page. You can also look at the demo project or even create your own projects and workflows from the demo project template repository. ❤️
-
Multi environment AZURE deployments with Terraform and GitHub
NOTE: if you have been following this tutorial step by step, and used a cloned copy of the Demo Repository you will need to update the caller workflows: ./.github/workflows/01_Foundation.yml and ./.github/workflows/02_Storage.yml with the inputs specified under with: using the values of your environment.
What are some alternatives?
AzureDevOps.WikiPDFExport - Export Azure DevOps Wiki to PDF
terraform-docs - Generate documentation from Terraform modules in various output formats
Azure-Service-Bus-SAS-Management - Repository to maintain and manage Azure Service Bus SAS tokens
terraform-azurerm-dynamic-subnets - Public Terraform Registry module to create dynamic subnets based on a subnet input config on an existing or new AZURE Virtual Network using Terraform
trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
Demo-Repo-TF-Azure - Demo how to use GitHub + reusable workflows to deploy resources to Azure at scale, using Terraform
AzurePipelines.wiki
terraform-with-comments - Archived: Reusable workflow to interface Terraform CLI with PR comments via GitHub Actions CI/CD.
Cloud-Resume-Project - My resume in Azure, following the Cloud Resume Challenge by Forrest Brazeal