psf-gw
bayupw/psf-gw/aviatrix
Terraform module to deploy Aviatrix PSF Gateway
Aviatrix Public Subnet Filtering (PSF) Gateway Terraform module Terraform module to deploy Aviatrix PSF Gateway Deploy Single PSF Gateway ``hcl module "ingress_psf_gw" { source = "bayupw/psf-gw/aviatrix" version = "1.0.1" gw_name = "ingress-psf" account = "aws-account" region = "ap-southeast-2" cidr = "10.0.0.0/16" vpc_id = "vpc-0a1b2c3d4e" route_table_ids = ["rtb-0a1b2c3d4e"] ha_gw = false } ` Deploy PSF Gateway with HA `hcl module "ingress_psf_gw" { source = "bayupw/psf-gw/aviatrix" version = "1.0.1" gw_name = "ingress-psf" account = "aws-account" region = "ap-southeast-2" cidr = "10.0.0.0/16" vpc_id = "vpc-0a1b2c3d4e" route_table_ids = ["rtb-0a1b2c3d4e"] ha_route_table_ids = ["rtb-1b2c3d4e5f"] } ` Create a VPC from Aviatrix and Deploy PSF Gateway with HA `hcl resource "aviatrix_vpc" "pr
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_id | string | Existing VPC ID | required |
| cidr | string | The VPC CIDR of the VPC where PSF gateway will be deployed | required |
| region | string | The AWS region to deploy this module in | required |
| account | string | The AWS account name, as known by the Aviatrix controller | required |
| gw_name | string | Name for this psf gateway | required |
| route_table_ids | list(string) | Route table ids whose associated public subnets will be protected by the primary | [] |
| ha_gw | bool | Boolean to determine if module will be deployed in HA or single mode | true |
| enable_encrypt_volume | bool | Set to true to enable volume encryption | true |
| az2 | string | Concatenates with region to form az names. e.g. eu-central-1b. Only used for ins | "b" |
| active_mesh | bool | Set to false to disable active mesh. | true |
| single_az_ha | bool | Set to true if Controller managed Gateway HA is desired | true |
| guard_duty_enforced | bool | Set to true to enforce AWS Guard Duty | true |
| ha_route_table_ids | list(string) | Route table ids whose associated public subnets will be protected by the HA gate | [] |
| instance_size | string | AWS Instance size for the Aviatrix psf gateways | "t2.micro" |
| az1 | string | Concatenates with region to form az names. e.g. eu-central-1a. Only used for ins | "a" |
psf_gateway — The created Aviatrix PSF gateway as an object with all of it's attributes.