Skip to content

Latest commit

Β 

History

History
82 lines (60 loc) Β· 2.39 KB

File metadata and controls

82 lines (60 loc) Β· 2.39 KB

Azure Infrastructure as Code Library

A comprehensive library for deploying Azure resources using Terraform and Bicep, organized by resource groups following best practices. This repository provides reusable infrastructure code for building scalable data platforms.

πŸ“ Repository Structure

.
β”œβ”€β”€ terraform/              # Terraform configurations
β”‚   β”œβ”€β”€ modules/           # Reusable Terraform modules
β”‚   β”œβ”€β”€ environments/      # Environment-specific configurations
β”‚   └── resource-groups/   # Organized by resource group
β”œβ”€β”€ bicep/                 # Bicep configurations
β”‚   β”œβ”€β”€ modules/           # Reusable Bicep modules
β”‚   └── resource-groups/   # Organized by resource group
└── docs/                  # Additional documentation

πŸš€ Supported Resources

This library includes configurations for:

  • Logic Apps - Workflow automation and integration
  • Function Apps - Serverless compute
  • Storage Accounts - Blob, File, Queue, and Table storage
  • Databases - Azure SQL Database and Cosmos DB
  • Data Factory - Data integration and orchestration
  • Key Vault - Secrets management
  • Application Insights - Application monitoring

πŸ“š Getting Started

Prerequisites

  • Azure subscription
  • Azure CLI installed
  • For Terraform: Terraform >= 1.0
  • For Bicep: Bicep CLI >= 0.4

Terraform Usage

cd terraform/environments/dev
terraform init
terraform plan
terraform apply

Bicep Usage

cd bicep/resource-groups/data-platform
az deployment group create \
  --resource-group <resource-group-name> \
  --template-file main.bicep \
  --parameters main.parameters.json

πŸ—οΈ Best Practices

  • Resources are organized by resource groups for better management
  • Modules promote code reusability and maintainability
  • Environment-specific configurations enable multi-environment deployments
  • Variables and outputs support infrastructure scalability
  • Tagging strategy for cost management and organization

πŸ“– Documentation

See the following for detailed documentation:

🀝 Contributing

Contributions are welcome! Please ensure code follows the established patterns and includes appropriate documentation.

πŸ“„ License

MIT License