This module deploys the script-runner server/worker as an Azure Container Instances service.
- A valid Azure account
- A published docker container with both
script-runnerand your script of choice installed - An Azure DNS zone to add records for a script-runner subdomain to
| Name | Version |
|---|---|
| azurerm | n/a |
No modules.
| Name | Type |
|---|---|
| azurerm_app_service_certificate_order.script_runner | resource |
| azurerm_application_gateway.load_balancer | resource |
| azurerm_container_group.script_runner | resource |
| azurerm_container_group.script_worker | resource |
| azurerm_dns_a_record.script_runner_lb | resource |
| azurerm_dns_cname_record.script_runner_www | resource |
| azurerm_dns_txt_record.script_runner_validation | resource |
| azurerm_lb_backend_address_pool.load_balancer | resource |
| azurerm_lb_backend_address_pool_address.script_runner | resource |
| azurerm_network_profile.script_runner | resource |
| azurerm_public_ip.load_balancer | resource |
| azurerm_redis_cache.celery_broker | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| auth0_audience | Audience for Auth0 client used to authenticate users calling script-runner's API. Required if auth_provider is set to 'auth0'. | string |
"" |
no |
| auth0_client_id | Identifier for Auth0 client used to authenticate users calling script-runner's API. Required if auth_provider is set to 'auth0'. | string |
"" |
no |
| auth0_domain | Domain for Auth0 client used to authenticate users calling script-runner's API. Required if auth_provider is set to 'auth0'. | string |
"" |
no |
| auth_provider | Auth provider to use for authentication/authorization. Supports 'auth0' and 'none'. | string |
"auth0" |
no |
| dns_subdomain | Subdomain to prefix to dns_zone_name. API will be served under this subdomain. | string |
"script-runner" |
no |
| dns_zone_name | Identifier of the DNS Zone for this instance of script-runner. | string |
n/a | yes |
| environment_variables | Mapping of environment variables to add to worker containers' environments. | map(string) |
{} |
no |
| image | n/a | string |
n/a | yes |
| image_tag | n/a | string |
"latest" |
no |
| location | n/a | string |
"westus" |
no |
| redis_subnet_id | ID of the subnet to create redis instances in. | string |
"redis-subnet" |
no |
| resource_group_name | n/a | string |
n/a | yes |
| server_count | Number of server container instances to run. | number |
1 |
no |
| server_subnet_id | ID of the subnet to create server instances in. | string |
"server-subnet" |
no |
| stack_name | Prefix for names of resources created by terraform. | string |
"script-runner" |
no |
| worker_count | Number of worker container instances to run. | number |
1 |
no |
| worker_subnet_id | ID of the subnet to create worker instances in. | string |
"worker-subnet" |
no |
No outputs.