forked from atlassian-labs/data-center-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tfvars
85 lines (68 loc) · 4.04 KB
/
config.tfvars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# This file configures the Terraform for Atlassian DC on Kubernetes.
# Please configure this file carefully before installing the infrastructure.
# See https://atlassian-labs.github.io/data-center-terraform/userguide/CONFIGURATION/ for more information.
################################################################################
# Mandatory
################################################################################
# 'environment_name' provides your environment a unique name within a single cloud provider account.
# This value can not be altered after the configuration has been applied.
environment_name = "<ENVIRONMENT>"
# Cloud provider region that this configuration will deploy to.
region = "<REGION>"
# Bamboo license
# To avoid storing license in a plain text file, we recommend storing it in an environment variable prefixed with `TF_VAR_` (i.e. `TF_VAR_bamboo_license`) and keep the below line commented out
# If storing license as plain-text is not a concern for this environment, feel free to uncomment the following line and supply the license here
#
#bamboo_license = "<LICENSE KEY>"
# Bamboo system admin credentials
# WARNING: In case you are restoring an existing dataset (see the `dataset_url` property below), you will need to use credentials
# existing in the dataset to set this section. Otherwise any other value for the `bamboo_admin_*` properties below are ignored.
bamboo_admin_username = "<USERNAME>"
# To avoid storing system admin password in a plain text file, we recommend storing it in an environment variable prefixed with `TF_VAR_` (i.e. `TF_VAR_bamboo_admin_password`) and keep the below line commented out
# If storing password as plain-text is not a concern for this environment, feel free to uncomment the following line and supply system admin password here
#bamboo_admin_password = "<PASSWORD>"
bamboo_admin_display_name = "<DISPLAY NAME>"
bamboo_admin_email_address = "<EMAIL ADDRESS>"
################################################################################
# Advanced
################################################################################
# (Optional) Domain name used by the ingress controller.
# The final ingress domain is a subdomain within this domain. (eg.: environment.domain.com)
# You can also provide a subdomain <subdomain.domain.com> and the final ingress domain will be <environment.subdomain.domain.com>.
# When commented out, the ingress controller is not provisioned and the application is accessible over HTTP protocol (not HTTPS).
#
#domain = "<example.com>"
# (Optional) URL for dataset to import
# The provided default is the dataset used in the DCAPT framework.
# See https://developer.atlassian.com/platform/marketplace/dc-apps-performance-toolkit-user-guide-bamboo
#
#dataset_url = "https://centaurus-datasets.s3.amazonaws.com/bamboo/dcapt-bamboo.zip"
# Custom tags for all resources to be created. Please add all tags you need to propagate among the resources.
resource_tags = {
Terraform = "true"
}
# Instance types that is preferred for EKS node group.
instance_types = ["m5.xlarge"]
# Desired number of nodes that the node group should launch with initially.
desired_capacity = 1
# RDS instance configurable attributes. Note that the allowed value of allocated storage and iops may vary based on instance type.
# You may want to adjust these values according to your needs.
# Documentation can be found via:
# https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html
# https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS
db_instance_class = "db.t3.micro"
db_allocated_storage = 100
db_iops = 1000
# Helm chart version of Bamboo and Bamboo agent instances
bamboo_helm_chart_version = "1.0.0"
bamboo_agent_helm_chart_version = "1.0.0"
# Bamboo instance resource configuration
bamboo_cpu = "1"
bamboo_mem = "1Gi"
bamboo_min_heap = "256m"
bamboo_max_heap = "512m"
# Bamboo Agent instance resource configuration
bamboo_agent_cpu = "0.25"
bamboo_agent_mem = "256m"
# Number of Bamboo remote agents to launch
number_of_bamboo_agents = 5