4. Terraform variables
Please follow the below steps to modify terraform files to incorporate the
Download and unzip terraform scripts.curl -L https://github.com/roost-io/roost-support/raw/refs/heads/master/terraform-ec2.zip -o terraform-ec2.zip unzip terraform-ec2.zip- Copy
terraform.tfvars.original
asterraform.tfvars
- Fill in the below details
enterprise_dns = "subdomain.domain.com" admin_email = "comma separated list of emails" enterprise_email_domain = "email-domain.com" company = "" license_key = "" roost_jwt_token = "32-character-secure-long-secret" roost_version = "v1.1.17" az1_suffix = "b" az2_suffix = "c" certificate_arn = "arn:aws:acm:region:account:certificate/cert-id" ec2_ami = "ami-023a307f3d27ea427" region = "region" ip_block_vpc="172.32.255.192" route53_hosted_zone_id = "" key_pair = "roost-ssh" azure_tenant_id = "" azure_client_id = "" azure_client_secret = "" okta_client_id = "your client id" okta_client_secret = "your client secret" okta_issuer = "https://account.okta.com/oauth2/default" is_own_mysql = false mysql_db_name = "roostio" mysql_host = "mysqldb_host_url" mysql_password = "Roost#123" mysql_port = 3306 mysql_root_password = "Admin#123" mysql_username = "Roost"
Terraform Variable Definitions
Field |
Values | Description |
roost_version | "v1.1.17" | |
license_key | ||
prefix | "terraform-gpt" | |
region | "us-west-1" | |
az1_suffix | "b" | |
az2_suffix | "c" | |
deletion_protection | false | |
route53_hosted_zone_id | ||
enterprise_dns | "roostgpt.example.com" | |
enterprise_ssl_certificate_path | "/var/tmp/Roost/certs/server.cer" | |
enterprise_ssl_certificate_key_path | "/var/tmp/Roost/certs/server.key" | |
certificate_arn | "" | |
ec2_ami | "ami-03df6dea56f8aa618" | |
key_pair | "roost-gpt-keypair" | |
generate_key_pair | true | |
device_name | "sdh" | |
ip_block_vpc | "172.32.255.192" | |
instance_type_controlplane | "c5a.2xlarge" | |
instance_type_jumphost | "t3.micro" | |
disk_roostgpt | 150 | |
disk_jumphost | 150 | |
disk_controlplane | 150 | |
google_client_id | ||
google_client_secret | ||
github_client_id | ||
github_client_secret | ||
linkedin_client_id | ||
linkedin_client_secret | ||
azure_tenant_id | ||
azure_client_id | ||
azure_client_secret | ||
okta_client_id | "0oa4bweaxcqn2sfTu5d7" | |
okta_client_secret | "D5oRtWXUWcl9gp1312dVtuSoumU4vrECO4wSsqAO" | |
okta_issuer | ||
roost_jwt_token | ||
company | ||
company_logo | "https://roost.ai/hubfs/logos/Roost.ai-logo-gold.svg" | |
enterprise_email_domain | "example.com" | |
admin_email | "admin@email" | |
admin_email_pass | "" | |
senders_email | "sender@email" | |
is_own_mysql | false | |
db_type | "mysql" | |
mysql_host | "mysqldb_host_url" | |
mysql_password | "Roost#123" | |
mysql_username | "Roost" | |
mysql_port | 3306 | |
mysql_db_name | "roostio" | |
mysql_root_password | "Admin#123" | |
senders_email_pass | ||
email_smtp_host |