DevOps deploys python’s AzureFunctions (Httptrigger) + DevOps deploys Terraform to build and deploy Infra resources

DevOps + Terraform deployment Infra + Azure Functions deployment Resources Introduction Terraform What is Terraform? Terraform run mode? Terraform version control? AzureDevOps AzureFunctions Background introduction Resource preparation code writing Project code Infra code Write infra code Follow-up: [For subsequent deployment, please refer to DevOps deployment of python AzureFunctions (Httptrigger) + DevOps deployment of Terraform to […]

DevOps deploys python’s AzureFunctions (Httptrigger) + DevOps deploys Terraform to build and deploy Infra resources (2)

DevOps + Terraform Deployment Infra + Azure Functions Deployment 2 Deployment preparation Push the project, create a Self-Host Agent or use Microsoft’s own compiler (here we use Microsoft’s own compiler) Create Service Principal Create a storage account and a container to store files generated by running Terraform Deploy and create code Terraform controls Release code […]

Terraform Series – Iterate on Blocks with Dynamic Blocks

series of articles Terraform series of articles Grafana series of articles Overview The Terraform series of articles introduces the use of Grafana Terraform Provider, based on Terraform’s IaC methodology, to automatically create various Grafana resources in batches, including Dashboard/Datasource, etc. Now there is such a practical need: Due to the need for permission control, Folder […]

Use Terraform to manage existing kubernates and default node pools

background: When creating a cluster through terraform resource “alicloud_cs_managed_kubernetes” “k8s” {…}, a default node pool default-nodepool will be generated, but how to modify the information of this default node pool? Solutions: Because there is no default-nodepool in Terraform’s state file, if you go directly to main.tf to create the node pool default-nodepool, your existing node […]

20 Best Practices to Improve Terraform Workflow | Part 2

In the previous part, we explored some strategies for building Terraform projects and some best practices for managing IaC with Terraform. Today, we’ll continue to dive into the specifics of taking your Terraform code to the next level, hoping to provide you and your team with meaningful tips and guidance. Tag resources A strong and […]

20 Best Practices to Improve Terraform Workflow | Part 1

Terraform is one of the most commonly used tools for managing Infrastructure as Code (IaC), allowing us to apply changes to our infrastructure securely and predictably. Getting started with Terraform may feel a little daunting at first, but you’ll quickly gain a basic understanding of the tool and start running commands, creating, and refactoring Terraform […]

A simple start to terraform – briefly analyze the content

Follow the above: A simple start of terraform-installation and some configurations. Let’s first interpret the main.tf of the previous chapter. Analysis of the code of the previous article: The code of main.tf in the previous article is as follows: terraform { required_providers { tencentcloud = { source = “tencentcloudstack/tencentcloud” version = “1.81.25” } } } […]