August 2019
Beginner
608 pages
16h 7m
English
At the top of the file, you will see the different sites that are defined, all of which call the GitLab module in the modules/services/ directory.
The first site is the main site that's located in the EU. The GitLab module takes several arguments that allow us to specify different settings for each site:
module "gitlab_eu" { source = "modules/services/gitlab/" region = "eu-central-1" instance_type = "t2.medium" vpc_cidr_block = "10.0.0.0/16" subnet_frontend_cidr_block = "10.0.1.0/24"}
The secondary Geo site is going to be in the US, on the West Coast. We also chose a different internal subnet to make it different from the EU one:
module "gitlab_us" { source = "modules/services/gitlab/" region = "us-west-2" ...Read now
Unlock full access