A Terraform module for creating sonarqube with its needed infrastructure.
This module creates a sonarqube with the following infrastructure ready to work:
Azure Resource Group
Azure App Service Plan
Azure Storage Account
Azure SQL Server
File Share within Azure Storage
Azure App Service
module "sonarqube" {
source = "../../modules/sonarqube"
resource_group_name = "mysonarqube123"
account_name = "mysonarqube123"
sql_server_name = "mysonarqube122"
app_service_plan_name = "mysonarqube123"
sonarqube_instances = [ "sonarqube-for-organization-a", "sonarqube-for-organization-b" ]
tags = {
MyTag = "MyTag value"
}
}
See variables.tf
You have the samples in samples folder