Terraform project for setting up SonarQube on AWS.
- 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
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
terraform apply
SMTP Settings
Setting | Value |
---|---|
SMTP host | see output |
Secure connection | starttls |
Port | 587 |
SMTP username | see output |
SMTP password | see output |