Terraform module that deploys Sorry Cypress on AWS.
module "sorry_cypress" {
source = "terraform-aws-sorry-cypress"
s3_bucket_name = "sorry_cypress_test_results"
zone_id = "example.com"
url = "sorrycypress.example.com"
load_balancer_security_group = "sg-123456789"
vpc_id = "vpc-123456"
task_role_arn = "arn::iam::role"
execution_role_arn = "arn::iam::role"
subnets = {
private = []
public = []
}
alb_logs_bucket = "alb_logs_bucket"
certificate_arn = "arn::acm::..."
docker_registry_credentials = "secret-name-in-secrets-manager"
}
Name | Version |
---|---|
aws | ~> 4.12.1 |
Name | Version |
---|---|
aws | ~> 4.12.1 |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
alb_logs_bucket | An S3 bucket to store ALB access logs | string |
n/a | yes |
certificate_arn | n/a | string |
n/a | yes |
cpu_request | Number of cpu units used by the task | string |
"1024" |
no |
docker_registry | The docker registry to pull sorry cypress images from | string |
n/a | yes |
docker_registry_credentials | The ARN of the docker registry credentials secret in SecretsManager | string |
n/a | yes |
execution_role_arn | ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume | string |
n/a | yes |
load_balancer_security_group | The load balancer security group | object({ |
n/a | yes |
memory_request | Amount (in MiB) of memory used by the task | string |
"2048" |
no |
prefix_list | An EC2 managed prefix list | string |
n/a | yes |
s3_bucket_name | S3 bucket name to store test results | string |
n/a | yes |
subnets | AWS subnet IDs to deploy Sorry Cypress | object({ |
n/a | yes |
task_role_arn | ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services | string |
n/a | yes |
test_results_retention | The number of days to keep test results | number |
15 |
no |
url | The URL to deploy SorryCypress to | string |
n/a | yes |
vpc_id | The VPC ID | string |
n/a | yes |
zone_id | The route53 zone id | string |
n/a | yes |
Name | Description |
---|---|
api_url | The Sorry Cypress API endpoint |
dashboard_url | The Sorry Cypress dashboard URL |
director_url | The Sorry Cypress director URL |
test_results_bucket | The S3 bucket where test results are stored |
This modules was based on the CloudFormation template provided by SorryCypress