Skip to content

Terraform project for setting up SonarQube on AWS

License

Notifications You must be signed in to change notification settings

capybara1/Terraform-AwsSonarQube

Repository files navigation

CI

SonarQube on AWS

Terraform project for setting up SonarQube on AWS.

Prerequisites

  • A DNS zone, managed by AWS Route53, is available
  • A TLS certificate, managed by AWS Certificate Manager, is available
  • A RSA key pair for SSH connection is available

Prepare

Initialize Terraform

terraform init

Configure

cat <<EOT > terraform.tfvars
service_domain = "sq.your-domain.de"
cert_domain = "*.your-domain.de"
zone = "your-domain.de."
public_key_path = "~/.ssh/id_rsa.pub"
EOT

Add ssh key to agent

eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa

Apply

terraform apply

Configure

SMTP Settings

Setting Value
SMTP host see output
Secure connection starttls
Port 587
SMTP username see output
SMTP password see output

Resources

About

Terraform project for setting up SonarQube on AWS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages