SonarQube Terraform Module for AWS
This Terraform module deploys a SonarQube community server on AWS. Based on official Sonarqube Docker image https://hub.docker.com/_/sonarqube.
![](https://camo.githubusercontent.com/07b94908cdb094543c1dbf1f3a2053f1b19379b64c84237b55b88adecb9897e1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f636e2d7465727261666f726d2f7465727261666f726d2d6177732d736f6e617271756265)
Check valid versions on:
Name |
Version |
terraform |
>= 0.12 |
Name |
Version |
aws |
n/a |
random |
n/a |
Name |
Description |
Type |
Default |
Required |
availability_zones |
List of Availability Zones |
list(string) |
n/a |
yes |
db_instance_size |
DB instance size |
string |
"db.r4.large" |
no |
db_name |
Default DB name |
string |
"sonar" |
no |
db_password |
DB password |
string |
"" |
no |
db_username |
Default DB username |
string |
"sonar" |
no |
name_prefix |
Name prefix for resources on AWS |
string |
n/a |
yes |
private_subnets_ids |
List of Private Subnets IDs |
list(string) |
n/a |
yes |
public_subnets_ids |
List of Public Subnets IDs |
list(string) |
n/a |
yes |
region |
AWS Region the infrastructure is hosted in |
string |
n/a |
yes |
vpc_id |
ID of the VPC |
string |
n/a |
yes |
Name |
Description |
sonar_lb_arn |
SonarQube Load Balancer ARN |
sonar_lb_arn_suffix |
SonarQube Load Balancer ARN Suffix |
sonar_lb_dns_name |
SonarQube Load Balancer DNS Name |
sonar_lb_id |
SonarQube Load Balancer ID |
sonar_lb_zone_id |
SonarQube Load Balancer Zone ID |