aws-spoke-custom
karolnedza/aws-spoke-custom/aviatrix
terraform-aviatrix-aws-spoke Description This module deploys a very simple spoke VPC, with a public and a private subnet in each availability zone. Spoke gateways are created in the public subnets of the 2 first AZ's. Compatibility Module version | Terraform version | Controller version | Terraform provider version :--- | :--- | :--- | :--- v1.0.0 | 0.13+0.14 | >=6.5 | >=0.2.20 _Information on older releases can be found in respective release notes._ Diagram with ha_gw set to false, the following will be deployed: Usage Example `` module "spoke_aws_1" { source = "karolnedza/aws-spoke/aviatrix" version = "1.0.0" name = "App1" cidr = "10.1.0.0/20" region = "eu-west-1" account = "AWS" transit_gw = "avx-eu-west-1-transit" } `` Variables The following variables are required: key | value :--- |
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name for this spoke VPC and it's gateways | required |
| tunnel_detection_time | number | The IPsec tunnel down detection time for the Spoke Gateway in seconds. Must be a | required |
| customer_managed_keys | string | Customer managed key ID for EBS Volume encryption. | required |
| tags | map(string) | Map of tags to assign to the gateway. | 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 |
| transit_gw_route_tables | list(string) | Route tables to propagate routes to for transit_gw attachment | [] |
| transit_gw | string | Name of the transit gateway to attach this spoke to | "" |
| az2 | string | Concatenates with region to form az names. e.g. eu-central-1b. Only used for ins | "b" |
| transit_gw_egress_route_tables | list(string) | Route tables to propagate routes to for transit_gw_egress attachment | [] |
| attached | bool | Set to false if you don't want to attach spoke to transit_gw. | true |
| security_domain | string | Provide security domain name to which spoke needs to be deployed. Transit gatewa | "" |
| included_advertised_spoke_routes | string | A list of comma separated CIDRs to be advertised to on-prem as Included CIDR Lis | "" |
| vpc_subnet_size | number | Size of each subnet cidr block in bits | 28 |
| prefix | bool | Boolean to determine if name will be prepended with avx- | true |
| inspection | bool | Set to true to enable east/west Firenet inspection. Only valid when transit_gw i | false |
| auto_advertise_s2c_cidrs | bool | Auto Advertise Spoke Site2Cloud CIDRs. | false |
| gw_subnet | string | Subnet CIDR, for using an existing VPC. Required when use_existing_vpc is true | "" |
| suffix | bool | Boolean to determine if name will be appended with -spoke | true |
| active_mesh | bool | Set to false to disable active mesh. | true |
| china | bool | Set to true if deploying this module in AWS China. | false |
| attached_gw_egress | bool | Set to false if you don't want to attach spoke to transit_gw2. | true |
| single_ip_snat | bool | Specify whether to enable Source NAT feature in single_ip mode on the gateway or | false |
| private_vpc_default_route | bool | Program default route in VPC private route table. | false |
| az1 | string | Concatenates with region to form az names. e.g. eu-central-1a. Only used for ins | "a" |
| customized_spoke_vpc_routes | string | A list of comma separated CIDRs to be customized for the spoke VPC routes. When | "" |
vpc — The created VPC as an object with all of it's attributes. This was created using the aviatrix_vpc respoke_gateway — The created Aviatrix spoke gateway as an object with all of it's attributes.