Sign inSign up

vydev/sonarqube-aws-env

By vydev

•Updated over 2 years ago

Image
0

100K+

vydev/sonarqube-aws-env repository overview

⁠Sonarqube

This terraform module creates a standalone instance of Sonarqube that is preconfigured to use Github oauth.

The module does the following:

  • Deploys Sonarqube in its own VPC with a postgres database
  • Configures Github oauth
  • Creates a new admin user
  • Removes the default admin user
⁠Prerequisites

This module assumes that the AWS account this is deployed to has a Route53 zone set up so that this can be launched behind SSL

⁠Quick start

To get a working Sonarqube installation up and running complete the following steps

  1. copy the default example including the init folder
  2. run terraform apply in the init folder and record the arn output.
  3. in the main.tf file: replace the value for parameters_key_arn with the value returned in the previous step replace the value for route53_zone with the name of your route53 hosted zone
  4. create the following ssm parameters in your AWS account and encrypt them using the key create above.
ssm parameter namedescription
/<name_prefix>/github-auth-enabledset to true
/<name_prefix>/github-client-idobtained from github
/<name_prefix>/github-client-secretobtained from github
/<name_prefix>/github-organizationsgithub organisation for ouath
/<name_prefix>/admin-usernamemay only contain url safe chars
/<name_prefix>/admin-passwordmay only contain url safe chars
  1. run terraform apply

Tag summary

Content type

Image

Digest

Size

298.7 MB

Last updated

almost 6 years ago

docker pull vydev/sonarqube-aws-env