acm_certificate_arn |
ARN for ACM certificate to use for Gitlab domain. |
string |
null |
no |
additional_tags |
A map of additional tags to attach to the resources. |
map(string) |
{} |
no |
ami_id |
Gitlab published AMI id. Default is GitLab CE 14.9.3 ap-south-1 region AMI. |
string |
"ami-00c7d9a63c83ba329" |
no |
aws_region |
AWS region code. Eg: ap-south-1 |
string |
"ap-south-1" |
no |
create_acm_certificate |
Whether to create SSL certificate for the Gitlab domain. If false, yo need to provide a valid AMC certificate arn in acm_certificate_arn variable. |
bool |
true |
no |
create_gitlab_route53_record |
Whether to create a domain in Route53 for your Gitlab. |
bool |
true |
no |
create_ses_identity |
Create a Amazon SES domain identity for Gitlab SMTP service. The domain should be hosted on Route53. |
bool |
false |
no |
enable_gitlab_backup_to_s3 |
Enable Gitlab backup on S3 bucket |
bool |
false |
no |
environment |
Development environment. Eg: staging, production, etc. |
string |
"production" |
no |
gitlab_backup_bucket_name |
Name of S3 bucket to be used for Gitlab backup |
string |
null |
no |
gitlab_domain |
Domain name for the hosted Gitlab instance. Eg: gitlab in gitlab.example.com |
string |
n/a |
yes |
gitlab_fqdn |
Fully qualified domain name for the hosted Gitlab instance. Eg: gitlab.example.com |
string |
n/a |
yes |
gitlab_pg_allocated_storage |
Gitlab RDS Postgres allocated storage |
number |
100 |
no |
gitlab_pg_create_db_parameter_group |
Create parameter group for Gitlab RDS |
bool |
false |
no |
gitlab_pg_db_instance_class |
Postgres RDS instance class |
string |
"db.m5.large" |
no |
gitlab_pg_db_name |
Postgres DB name for Gitlab |
string |
"gitlabhq-production" |
no |
gitlab_pg_engine_version |
Postgres engine version |
string |
"12.11" |
no |
gitlab_pg_parameter_group_name |
Parameter Group name for Gitlab RDS Postgres |
string |
null |
no |
gitlab_pg_parameters |
Parameter list for Gitlab RDS |
list(map(string)) |
[] |
no |
gitlab_pg_password |
Password for Gitlab Postgres DB |
string |
n/a |
yes |
gitlab_pg_port |
The port on which the DB accepts connections |
number |
5432 |
no |
gitlab_pg_publicly_accessible |
Allow Gitlab RDS publicly accessible |
bool |
false |
no |
gitlab_pg_storage_type |
Storage type for Gitlab RDS Postgres |
string |
"gp3" |
no |
gitlab_pg_subnet_ids |
List of subnet-ids for Gitlab RDS |
list(string) |
n/a |
yes |
gitlab_pg_username |
Username for Gitlab Postgres DB |
string |
n/a |
yes |
gitlab_redis_create_parameter_group |
Create parameter group for Gitlab Redis |
bool |
false |
no |
gitlab_redis_create_subnet_group |
Create subnet group for Gitlab Redis |
bool |
true |
no |
gitlab_redis_engine_version |
Redis engine version for Gitlab Redis |
string |
"7.0" |
no |
gitlab_redis_node_type |
Instance class for Gitlab Redis |
string |
"cache.t3.medium" |
no |
gitlab_redis_num_cache_nodes |
Number of cache node in Gitlab Redis |
number |
1 |
no |
gitlab_redis_parameter_group |
Gitlab Redis Parameter group config |
object({ name = string family = string }) |
{ "family": null, "name": null } |
no |
gitlab_redis_parameter_group_name |
Parameter group name for Gitlab Redis |
string |
null |
no |
gitlab_redis_port |
Redis port for Gitlab Redis |
number |
6379 |
no |
gitlab_redis_subnet_group_name |
Subnet group name for Gitlab Redis |
string |
null |
no |
gitlab_redis_subnet_ids |
List of subnet-ids for Gitlab Redis |
list(string) |
[] |
no |
gitlab_ssh_public_key |
Public key to the key pair to access Gitlab over SSH |
string |
null |
no |
healthcheck_healthy_threshold |
Number of consecutive health checks successes required before considering an unhealthy target healthy. |
number |
3 |
no |
healthcheck_interval |
Approximate amount of time, in seconds, between health checks of an individual target. |
number |
30 |
no |
healthcheck_path |
Destination for the health check request. |
string |
"/-/readiness" |
no |
healthcheck_port |
Port to use to connect with the target. |
string |
"80" |
no |
healthcheck_protocol |
Protocol to use to connect with the target. |
string |
"HTTP" |
no |
healthcheck_timeout |
Amount of time, in seconds, during which no response means a failed health check. |
number |
5 |
no |
healthcheck_unhealthy_threshold |
Number of consecutive health check failures required before considering the target unhealthy. |
number |
3 |
no |
hosted_zone |
Route53 hosted zone where gitlab domain will be created. Eg: example.com |
string |
n/a |
yes |
instance_type |
Gitlab EC2 instance type. Default is c5.xlarge. |
string |
"c5.xlarge" |
no |
private_key |
Private key to execute ansible playbook on Gitlab instance. |
string |
n/a |
yes |
private_subnet_id |
Id of a private subnet for the VPC where Gitlab instance is located. |
string |
n/a |
yes |
public_subnet_ids |
List of public subnet Ids for Gitlab load balancer. |
list(string) |
n/a |
yes |
ses_domain |
Route53 hosted domain name for Amazon SES. If no value provided, value of Gitlab hosted zone will be assumed as default. |
string |
null |
no |
ses_username |
Username for Gitlab SMTP user |
string |
"gitlab-smtp-user" |
no |
volume_iops |
IOPS for the Gitlab EBS volume |
number |
3000 |
no |
volume_size |
Size of root EBS volume for Gitlab instance. |
number |
100 |
no |
volume_type |
Root EBS volume type for Gitlab instance. |
string |
"gp3" |
no |
vpc_id |
Id for VPC where Gitlab instance is located. |
string |
n/a |
yes |