source = "cased/terraform-aws-cased-shell-ecs"
# The environment, and the id of the vpc and the cluster where the service will run
cluster_id = mycluster.id
# Subnets and secgroups for the service
vpc_subnet_ids = [subnet1.id, subnet2.id]
security_group_ids = [securitygroup1.id, securitygroup2.id]
# The hostname for Cased Shell
hostname = "webshell.example.com"
# For security, this must be the ARN of an aws_secretsmanager_secret, not the actual secret string
cased_shell_secret_arn = your_shell_secret.arn
# Set up a hostname with route53 automatically
# Automatically display all instances with a `cluster` tag that matches `*test*` in host dropdown list,
# including the value of `aws:autoscaling:groupName` to help users find the right instance.
host_autodiscovery = true
host_autodiscovery_descriptive_tag = "aws:autoscaling:groupName"
host_autodiscovery_tag_filters = [{