|
| 1 | +module "gitlab" { |
| 2 | + source = "../../" |
| 3 | + |
| 4 | + create_gitlab_domain = true |
| 5 | + gitlab_domain = "gitlab" |
| 6 | + gitlab_fqdn = "gitlab.example.com" |
| 7 | + hosted_zone = "example.com" |
| 8 | + private_subnet_id = "subnet-u8dy389d78qhh338" |
| 9 | + public_subnet_ids = [ |
| 10 | + "subnet-h89dj8d3j2jd8", "subnet-jd8jq3dj89qj9jd3", "subnet-jd89jh89dj9dj9j9qw" |
| 11 | + ] |
| 12 | + volume_size = 30 |
| 13 | + volume_type = "gp3" |
| 14 | + vpc_id = "vpc-89rh423789hr982h98" |
| 15 | + create_acm_certificate = true |
| 16 | + healthcheck_matcher = "200" |
| 17 | + healthcheck_path = "/-/readiness" |
| 18 | + gitlab_ssh_public_key = "ssh publickey" |
| 19 | + gitlab_pg_allocated_storage = 100 |
| 20 | + gitlab_pg_db_instance_class = "db.m5.large" |
| 21 | + gitlab_pg_db_name = "gitlabhq_production" |
| 22 | + gitlab_pg_engine_version = "12.11" |
| 23 | + gitlab_pg_password = "foobarbaz" |
| 24 | + gitlab_pg_publicly_accessible = false |
| 25 | + gitlab_pg_storage_type = "gp3" |
| 26 | + gitlab_pg_subnet_ids = ["subnet-u8dy389d78qhh338", "subnet-hde38hd89qhdwhw"] |
| 27 | + gitlab_pg_username = "gitlab" |
| 28 | + gitlab_redis_engine_version = "7.0" |
| 29 | + gitlab_redis_node_type = "cache.t3.medium" |
| 30 | + gitlab_redis_create_parameter_group = true |
| 31 | + gitlab_redis_parameter_group = { |
| 32 | + name = "gitlab-redis" |
| 33 | + family = "redis7" |
| 34 | + } |
| 35 | + gitlab_redis_subnet_ids = ["subnet-u8dy389d78qhh338", "subnet-hde38hd89qhdwhw"] |
| 36 | + enable_gitlab_backup_to_s3 = true |
| 37 | + gitlab_backup_bucket_name = "example-gitlab-backup" |
| 38 | + private_key = var.private_key |
| 39 | + create_ses_identity = true |
| 40 | +} |
0 commit comments