Skip to content

GovTechSG/terraform-outbound-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

outbound-proxy

Usage

module "proxy" {
  name = "proxy"
  network_allowed_cidr = "10.0.0.0/22"
  private_subnet_ids = ["subnet-xxx"]
  public_subnet_ids = ["subnet-xx"]
  vpc_id = "vpc-xxx"
  whitelisted_domains = ["example.com", "example2.com"]

  permissions_boundary = "some_boundary_arn"

}

Requirements

No requirements.

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
custom_dns Custom DNS servers, set to 'default' to not use a custom dns server string "default" no
instance_type WebServer EC2 instance type (e.g t3.medium) string "t3.medium" no
latest_ami_id AMI ID to use, default to latest AMI Amazon linux2 string "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2" no
name Name for this cloudformation resource string n/a yes
network_allowed_cidr CIDR allowed in Proxy Security Group. The allowed block size is between a /32 netmask and /8 netmask string "172.31.0.0/16" no
permissions_boundary ARN of the IAM policy to apply to iam roles created as permission boundary policy string "" no
private_subnet_ids Private SubnetIDs where the Network LoadBalancer will be placed (Select min 2 max 3) list(string) n/a yes
proxy_port Port to connect to proxy with number 3128 no
public_subnet_ids Public SubnetIDs where the proxy will be placed (Select min 2 max 3) list(string) n/a yes
ssh_key_name Key pair name to use for ssh key to the instance string "" no
vpc_id VPC ID string n/a yes
whitelisted_domains List of domain names to whitelist for outgoing proxy list(string)
[
".amazonaws.com",
".debian.org"
]
no

Outputs

No output.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages