Azuredevops – Cloud Support

Deploying PostgreSQL using Terraform

Create main.tf file Added providers provider “azurerm” {     features {     } } 2. Added resource group which is already create.data “azurerm_resource_group” “rg”{     name = “jasdemo” } 3. Add random resource to generate random password for PostgreSQLresource “random_password” “postgresql-pass” {   length = 8   min_special = 2 } 4. […]

Terraform using Azure Devops

Create resource group 2. Create service connection in Azure Devops 3. Create storage account to save terraform statefiles. 4. Create container for tfstate files 5. Create a repo iac in azure devops 6. Create main.tf file in this repo. 7. Create blank pipeline and create terraform pipeline with init, plan,validate and apply 8. Below is […]

Deploying resources using BICEP on Azure Devops

Create repo with following files main.bicep file with below contents 2. Create st.bicep and vnet.bicep defining storage and vnet 3. Create pipeline using below steps 4. Create build and deploy task in the pipeline 5. Below sample for azure-pipelines.yaml Above code with deploy resource group ,storage account and vnet on Azure. Bicep can used for […]