1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: CC-BY-SA-3.0
5 variable "instance_type" {
6 description = "The EC2 instance types to use per service node"
13 variable "instance_volume_size" {
14 description = "EC2 volume size in GiB per service node"
22 variable "pubkey_path" {
23 description = "Path to the file containing the public SSH key"
25 default = "~/.ssh/id_rsa.pub"
28 variable "deploy_user" {
29 description = "User for deploying the software"
34 variable "ssl_password_secret_name_suffix" {
35 description = "Name suffix for the SSL certificate's private key password AWS secret."
37 default = "arvados-ssl-privkey-password"
40 variable "instance_ami" {
41 description = "The EC2 instance AMI to use on the nodes"
47 description = "Enable to create an RDS instance as the cluster's database service"
52 variable "rds_username" {
53 description = "RDS instance's username. Default: <cluster_name>_arvados"
58 variable "rds_password" {
59 description = "RDS instance's password. Default: randomly-generated 32 chars"
64 variable "rds_instance_type" {
65 description = "RDS instance type"
67 default = "db.m5.large"
70 variable "rds_allocated_storage" {
71 description = "RDS initial storage size (GiB)"
76 variable "rds_max_allocated_storage" {
77 description = "RDS maximum storage size that will autoscale to (GiB)"
82 variable "rds_backup_retention_period" {
83 description = "RDS Backup retention (days). Set to 0 to disable"
87 condition = (var.rds_backup_retention_period <= 35)
88 error_message = "rds_backup_retention_period should be less than 36 days"
92 variable "rds_backup_before_deletion" {
93 description = "Create a snapshot before deleting the RDS instance"
98 variable "rds_final_backup_name" {
99 description = "Snapshot name to use for the RDS final snapshot"
104 variable "rds_postgresql_version" {
105 description = "RDS PostgreSQL version"