terraform-script-runner-aws-ecs
This module deploys the script-runner server/worker as an AWS ECS service.
A valid AWS account
A published docker container with both script-runner and your script of choice installed
Name
Description
Type
Default
Required
auth0_audience
Audience for Auth0 client used to authenticate users calling script-runner's API.
string
n/a
yes
auth0_client_id
Identifier for Auth0 client used to authenticate users calling script-runner's API.
string
n/a
yes
auth0_domain
Domain for Auth0 client used to authenticate users calling script-runner's API.
string
n/a
yes
auth_provider
Auth provider to use for authentication/authorization. Supports 'auth0' and 'none'.
string
"auth0"
no
aws_region
n/a
string
"us-west-1"
no
dns_subdomain
Subdomain to prefix to dns_zone_name. API will be served under this subdomain.
string
"script-runner"
no
dns_zone_id
Identifier of the Route53 Hosted Zone for the parent domain of this instance of script-runner.
string
n/a
yes
ecs_cluster_id
Identifier of existing ECS cluster to deploy to.
string
n/a
yes
ecs_task_execution_role_arn
IAM role ARN to apply to running containers. Can be used to grant script access to AWS services (such as a database). Must match 'ecs_task_execution_role_name'.
string
n/a
yes
ecs_task_execution_role_name
IAM role name to apply to running containers. Can be used to grant script access to AWS services (such as a database).
string
n/a
yes
image
n/a
string
n/a
yes
image_tag
n/a
string
"latest"
no
server_count
Number of server container instances to run.
number
1
no
stack_name
Prefix for names of resources created by terraform.
string
"script-runner"
no
vpc_cidr
CIDR for VPC.
string
n/a
yes
vpc_database_subnet_ids
VPC database subnet ids.
list(string)
n/a
yes
vpc_id
Identier of existing VPC to deploy to.
string
n/a
yes
vpc_public_subnet_ids
VPC public subnet ids.
list(string)
n/a
yes
worker_count
Number of worker container instances to run.
number
1
no
No outputs.