Skip to content

Latest commit

 

History

History
70 lines (57 loc) · 4.45 KB

README.md

File metadata and controls

70 lines (57 loc) · 4.45 KB

AWS S3 Proxy

A autoscaling proxy to allow access to S3 gateway endpoints from outside the VPC.

Requirements

Name Version
terraform >= 1.0
aws ~> 4.22.0
tls ~> 3.4.0

Providers

Name Version
aws 4.22.0
tls 3.4.0

Modules

No modules.

Resources

Name Type
aws_autoscaling_group.s3proxy resource
aws_autoscaling_policy.s3proxy_down resource
aws_autoscaling_policy.s3proxy_up resource
aws_cloudwatch_metric_alarm.s3proxy_down resource
aws_cloudwatch_metric_alarm.s3proxy_up resource
aws_key_pair.this resource
aws_launch_configuration.s3proxy resource
aws_lb.s3proxy resource
aws_lb_listener.http resource
aws_lb_target_group.http resource
aws_security_group.instance resource
tls_private_key.this resource
aws_ami.centos data source

Inputs

Name Description Type Default Required
egress_allowed_cidr allowed oubound networks list
[
"0.0.0.0/0"
]
no
environment environment in names and tags string n/a yes
instance_type instance type string "m5.xlarge" no
max_size maximum number of proxy instances number 9 no
min_size minimum number of proxy instances number 2 no
proxy_allowed_cidr networks to allow proxy string n/a yes
proxy_port squid proxy port number 3128 no
region AWS region string n/a yes
ssh_allowed_cidr networks to allow ssh string n/a yes
subnet_ids list of subnet ids list n/a yes
tags additional tags map n/a yes
vpc_id VPC id string n/a yes

Outputs

Name Description
nlb_dns_name network load balancer dns endpoint
nlb_zone_id network load balancer dns zone id
private_key s3proxy instance private ssh key