kasm-terraform/aws/multi_region/webapps
2025-09-03 19:29:04 +00:00
..
agent.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
cpx.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
dependencies.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
elb.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
outputs.tf Added outputs and updated documentation and diagrams 2024-02-15 21:58:20 +00:00
provider.tf Simplified TF, added CPX, updated download URL 2024-02-12 22:45:26 +00:00
README.md KASM-7433 "Feature/ update ancillary repos that handle install stigs etc for removal of share functionality" 2025-09-03 19:29:04 +00:00
variables.tf KASM-7433 "Feature/ update ancillary repos that handle install stigs etc for removal of share functionality" 2025-09-03 19:29:04 +00:00
webapp.tf KASM-7433 "Feature/ update ancillary repos that handle install stigs etc for removal of share functionality" 2025-09-03 19:29:04 +00:00

webapps

Requirements

Name Version
terraform ~> 1.0
aws ~> 5.0

Providers

Name Version
aws 5.36.0

Modules

No modules.

Resources

Name Type
aws_instance.agent resource
aws_instance.cpx resource
aws_instance.webapp resource
aws_lb.this resource
aws_lb_listener.http resource
aws_lb_listener.https resource
aws_lb_target_group.this resource
aws_lb_target_group_attachment.this resource
aws_route53_health_check.this resource
aws_route53_record.alb resource
aws_route53_record.latency resource
aws_route53_zone.this data source

Inputs

Name Description Type Default Required
agent_hdd_size_gb The HDD size in GB to configure for the Kasm Agent instances number 0 no
agent_instance_type the instance type for the agents string "" no
agent_security_group_id Kasm Agent security group ID string "" no
agent_subnet_id Subnet ID created for agents string "" no
aws_domain_name The Route53 Zone used for the dns entries. This must already exist in the AWS account. (e.g dev.kasm.contoso.com). The deployment will be accessed via this zone name via https string n/a yes
aws_key_pair The name of an aws keypair to use. string n/a yes
aws_ssm_instance_profile_name The name of the SSM EC2 Instance Profile to associate with Kasm VMs for SSH access string "" no
aws_to_kasm_zone_map AWS regions mapped to Kasm Deployment Zone names map(any)
{
"af-south-1": "Africa-(Cape-Town)",
"ap-east-1": "China-(Hong-Kong)",
"ap-northeast-1": "Japan-(Tokyo)",
"ap-northeast-2": "S-Korea-(Seoul)",
"ap-northeast-3": "Japan-(Osaka)",
"ap-south-1": "India-(Mumbai)",
"ap-south-2": "India-(Hyderbad)",
"ap-southeast-1": "Singapore",
"ap-southeast-2": "Austrailia-(Sydney)",
"ap-southeast-3": "Indonesia-(Jakarta)",
"ap-southeast-4": "Austrailia-(Melbourne)",
"ca-central-1": "Canada-(Montreal)",
"eu-central-1": "Switzerland-(Zurich)",
"eu-north-1": "Sweden-(Stockholm)",
"eu-south-1": "Italy-(Milan)",
"eu-south-2": "Spain-(Aragon)",
"eu-west-1": "Ireland-(Dublin)",
"eu-west-2": "UK-(London)",
"eu-west-3": "France-(Paris)",
"me-central-1": "United-Arab-Emirates",
"me-south-1": "Manama-(Bahrain)",
"sa-east-1": "Brazil-(Sao-Paulo)",
"us-east-1": "USA-(Virginia)",
"us-east-2": "USA-(Ohio)",
"us-west-1": "USA-(California)",
"us-west-2": "USA-(Oregon)"
}
no
certificate_arn The certificate ARN created in the primary region for use with all load balancers in the deployment. string n/a yes
cpx_hdd_size_gb The HDD size in GB to configure for the Kasm CPX instances number 0 no
cpx_instance_type the instance type for the CPX nodes string "" no
cpx_security_group_id CPX security group ID string "" no
cpx_subnet_id Subnet ID created for Kasm CPX nodes string "" no
database_password The password for the database. No special characters string n/a yes
ec2_ami The AMI used for the EC2 nodes. Recommended Ubuntu 20.04 LTS. string n/a yes
faux_aws_region The AWS region this WebApp is supposed to represent even though it will be created in the primary region of the deployment. (e.g us-east-1) string n/a yes
kasm_build The URL for the Kasm Workspaces build string n/a yes
kasm_db_ip The IP/DNS name of the Kasm database string n/a yes
load_balancer_log_bucket S3 bucket name for load balancers to forward access logs to string n/a yes
load_balancer_security_group_id Security Group ID for the Primary region's load balancer string n/a yes
load_balancer_subnet_ids ALB subnet IDs created to host webapps in the primary region list(string) n/a yes
manager_token The Manager Token used by Kasm Agents to authenticate. No special characters string n/a yes
num_agents The number of Agent Role Servers to create in the deployment number 0 no
num_cpx_nodes The number of cpx Role Servers to create in the deployment number 0 no
num_webapps The number of WebApp role servers to create in the deployment number n/a yes
primary_aws_region The AWS region for primary region of the deployment. (e.g us-east-1) string n/a yes
primary_vpc_id The VPC ID of the primary region string n/a yes
project_name The name of the deployment (e.g dev, staging). A short single word string n/a yes
service_registration_token The service registration token value for cpx RDP servers to authenticate to webapps. No special characters string "" no
swap_size The amount of swap (in MB) to configure inside the compute instances number n/a yes
webapp_hdd_size_gb The HDD size in GB to configure for the Kasm WebApp instances number n/a yes
webapp_instance_type The instance type for the webapps string n/a yes
webapp_security_group_id WebApp security group ID string n/a yes
webapp_subnet_ids WebApp subnet IDs created to host webapps in the primary region list(string) n/a yes
zone_name A name given to the Kasm deployment Zone string n/a yes

Outputs

Name Description
kasm_zone_name The zone name used for this region/zone in Kasm