Proxy
Overview
The cluster manager, sensor, and scanner all respect the HTTP_PROXY family of environment variables. Set the proxy variable to the URL of your proxy. The module sets the environment variables on the components for you. https_proxy defaults to the value of http_proxy when omitted.
| Attribute | Type | Default | Description |
|---|---|---|---|
enabled | bool | false | Whether the module sets the proxy environment variables. |
http_proxy | string | "" | The URL of the HTTP proxy. |
https_proxy | string | "" | The URL of the HTTPS proxy. When empty, the value of http_proxy is used. |
no_proxy | string | "" | A comma-separated list of hosts that bypass the proxy. |
module "upwind_ecs_runtime" {
source = "https://get.upwind.io/terraform/modules/aws-ecs-runtime/aws-ecs-runtime-1.5.1.tar.gz"
ecs_cluster_name = "my-ecs-cluster"
vpc_id = "vpc-0123456789abcdef0"
subnets = ["subnet-0123456789abcdef0", "subnet-0fedcba9876543210"]
credentials = {
client_id = var.upwind_client_id
client_secret = var.upwind_client_secret
}
proxy = {
enabled = true
http_proxy = "http://proxy.service:1234"
no_proxy = "169.254.169.254,.internal"
}
}