# This file configures the Terraform for Atlassian DC on Kubernetes for Data Center applications performance testing # with DCAPT toolkit and enterprise-scale dataset. # Please configure this file carefully before installing the infrastructure. # See https://developer.atlassian.com/platform/marketplace/dc-apps-performance-and-scale-testing/ for more information. ################################################################################ # Common Settings ################################################################################ # Unique name of your enterprise-scale test cluster. # This value can not be altered after the configuration has been applied. # ! REQUIRED ! environment_name = "dcapt-product" # Supported products: confluence and bamboo. # e.g.: products = ["confluence"] # ! REQUIRED ! products = ["product-to-deploy"] # Default AWS region for DCAPT snapshots. region = "us-east-2" # List of IP ranges that are allowed to access the running applications over the World Wide Web. # By default the deployed applications are publicly accessible (0.0.0.0/0). You can restrict this access by changing the # default value to your desired CIDR blocks. e.g. ["10.20.0.0/16" , "99.68.64.0/10"] whitelist_cidr = ["0.0.0.0/0"] # (optional) Custom tags for all resources to be created. Please add all tags you need to propagate among the resources. resource_tags = {Name: "dcapt-testing"} # Instance types that is preferred for EKS node group. Do not change default values. instance_types = ["m5.2xlarge"] instance_disk_size = 100 # Minimum and maximum size of the EKS cluster. # Cluster-autoscaler is installed in the EKS cluster that will manage the requested capacity # and increase/decrease the number of nodes accordingly. This ensures there is always enough resources for the workloads # and removes the need to change this value. min_cluster_capacity = 1 max_cluster_capacity = 4 ################################################################################ # Confluence Settings ################################################################################ # Confluence 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_confluence_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. # Please make sure valid confluence license is used without spaces and new line symbols. # ! REQUIRED ! confluence_license = "confluence-license" # Number of Confluence application nodes # Note: For initial installation this value needs to be set to 1 and it can be changed only after Confluence is fully # installed and configured. confluence_replica_count = 1 # Supported versions by DCAPT: https://github.com/atlassian/dc-app-performance-toolkit#supported-versions confluence_version_tag = "7.19.2" # Shared home restore configuration. # Make sure confluence version set in `confluence_version_tag` match the snapshot version. # # 7.19.2 DCAPT large dataset EBS snapshot confluence_shared_home_snapshot_id = "snap-017809ad2330588a2" # 7.13.7 DCAPT large dataset EBS snapshot # confluence_shared_home_snapshot_id = "snap-0ae77fcd4fd5a5914" # Database restore configuration. # Make sure confluence version set in `confluence_version_tag` match the snapshot version. # Build number stored within the snapshot and Confluence license are also required, so that Confluence can be fully setup prior to start. # # 7.19.2 DCAPT large dataset RDS snapshot confluence_db_snapshot_id = "arn:aws:rds:us-east-2:585036043680:snapshot:dcapt-confluence-7-19-x" # 7.13.7 DCAPT large dataset RDS snapshot # confluence_db_snapshot_id = "arn:aws:rds:us-east-2:585036043680:snapshot:dcapt-confluence-7-13-x" # Build number for a specific Confluence version can be found in the link below: # https://developer.atlassian.com/server/confluence/confluence-build-information # 7.19.2 confluence_db_snapshot_build_number = "8804" # 7.13.7 # confluence_db_snapshot_build_number = "8703" # Helm chart version of Confluence # confluence_helm_chart_version = "" # Installation timeout # Different variables can influence how long it takes the application from installation to ready state. These # can be dataset restoration, resource requirements, number of replicas and others. confluence_installation_timeout = 25 # Confluence instance resource configuration confluence_cpu = "4" confluence_mem = "20Gi" confluence_min_heap = "12288m" confluence_max_heap = "12288m" # Synchrony instance resource configuration synchrony_cpu = "2" synchrony_mem = "2.5Gi" synchrony_min_heap = "1024m" synchrony_max_heap = "2048m" synchrony_stack_size = "2048k" # Storage confluence_local_home_size = "200Gi" confluence_shared_home_size = "100Gi" # 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 confluence_db_major_engine_version = "11" confluence_db_instance_class = "db.m5.xlarge" confluence_db_allocated_storage = 200 confluence_db_iops = 1000 # If you restore the database, make sure `confluence_db_name' is set to the db name from the snapshot. # Set `null` if the snapshot does not have a default db name. confluence_db_name = "confluence" # The master user credential for the database instance. # If username is not provided, it'll be default to "postgres". # If password is not provided, a random password will be generated. confluence_db_master_username = "atlconfluence" confluence_db_master_password = "Password1!" # Enables Collaborative editing in Confluence confluence_collaborative_editing_enabled = true ################################################################################ # Bamboo Settings ################################################################################ # 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. # Please make sure valid confluence license is used without spaces and new line symbols. # ! REQUIRED ! bamboo_license = "bamboo-license" # By default, latest supported by DCAPT version is set. # https://hub.docker.com/r/atlassian/bamboo/tags # https://hub.docker.com/r/atlassian/bamboo-agent-base/tags bamboo_version_tag = "8.1.3" bamboo_agent_version_tag = "8.1.3" # Helm chart version of Bamboo and Bamboo agent instances # bamboo_helm_chart_version = "" # bamboo_agent_helm_chart_version = "" # Number of Bamboo remote agents to launch # To install and use the Bamboo agents, you need to provide pre-seed data including a valid Bamboo license and system admin information. number_of_bamboo_agents = 50 # Bamboo system admin credentials # To pre-seed Bamboo with the system admin information, uncomment the following settings and supply the system admin information: # # 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. # # To avoid storing 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 `bamboo_admin_password` commented out # If storing password as plain-text is not a concern for this environment, feel free to uncomment `bamboo_admin_password` and supply system admin password here # bamboo_admin_username = "admin" bamboo_admin_password = "admin" bamboo_admin_display_name = "admin" bamboo_admin_email_address = "admin@example.com" # Installation timeout # Different variables can influence how long it takes the application from installation to ready state. These # can be dataset restoration, resource requirements, number of replicas and others. #bamboo_installation_timeout = # Bamboo instance resource configuration bamboo_cpu = "4" bamboo_mem = "16Gi" bamboo_min_heap = "256m" bamboo_max_heap = "512m" # Bamboo Agent instance resource configuration bamboo_agent_cpu = "200m" bamboo_agent_mem = "700m" # Storage bamboo_local_home_size = "200Gi" bamboo_shared_home_size = "400Gi" # Bamboo NFS instance resource configuration #bamboo_nfs_requests_cpu = "" #bamboo_nfs_requests_memory = "" #bamboo_nfs_limits_cpu = "" #bamboo_nfs_limits_memory = "" # 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 bamboo_db_major_engine_version = "13" bamboo_db_instance_class = "db.t3.medium" bamboo_db_allocated_storage = 100 bamboo_db_iops = 1000 bamboo_db_name = "bamboo" # (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 # bamboo_dataset_url = "https://centaurus-datasets.s3.amazonaws.com/bamboo/dcapt-bamboo.zip"