Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.27 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.27 KB

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