aviatrix.AviatrixSpokeGateway
Explore with Pulumi AI
Import
spoke_gateway can be imported using the gw_name
, e.g. ****
$ pulumi import aviatrix:index/aviatrixSpokeGateway:AviatrixSpokeGateway test gw_name
Create AviatrixSpokeGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixSpokeGateway(name: string, args: AviatrixSpokeGatewayArgs, opts?: CustomResourceOptions);
@overload
def AviatrixSpokeGateway(resource_name: str,
args: AviatrixSpokeGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixSpokeGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
cloud_type: Optional[int] = None,
gw_name: Optional[str] = None,
gw_size: Optional[str] = None,
subnet: Optional[str] = None,
vpc_id: Optional[str] = None,
vpc_reg: Optional[str] = None,
ha_azure_eip_name_resource_group: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
azure_eip_name_resource_group: Optional[str] = None,
bgp_ecmp: Optional[bool] = None,
bgp_hold_time: Optional[int] = None,
bgp_polling_time: Optional[int] = None,
customer_managed_keys: Optional[str] = None,
customized_spoke_vpc_routes: Optional[str] = None,
disable_route_propagation: Optional[bool] = None,
eip: Optional[str] = None,
ha_insane_mode_az: Optional[str] = None,
enable_active_standby_preemptive: Optional[bool] = None,
enable_auto_advertise_s2c_cidrs: Optional[bool] = None,
enable_bgp: Optional[bool] = None,
enable_encrypt_volume: Optional[bool] = None,
enable_jumbo_frame: Optional[bool] = None,
enable_learned_cidrs_approval: Optional[bool] = None,
enable_monitor_gateway_subnets: Optional[bool] = None,
enable_preserve_as_path: Optional[bool] = None,
enable_private_oob: Optional[bool] = None,
enable_private_vpc_default_route: Optional[bool] = None,
enable_skip_public_route_table_update: Optional[bool] = None,
enable_spot_instance: Optional[bool] = None,
enable_vpc_dns_server: Optional[bool] = None,
fault_domain: Optional[str] = None,
filtered_spoke_vpc_routes: Optional[str] = None,
ha_availability_domain: Optional[str] = None,
approved_learned_cidrs: Optional[Sequence[str]] = None,
ha_eip: Optional[str] = None,
ha_fault_domain: Optional[str] = None,
allocate_new_eip: Optional[bool] = None,
availability_domain: Optional[str] = None,
enable_active_standby: Optional[bool] = None,
ha_oob_availability_zone: Optional[str] = None,
ha_oob_management_subnet: Optional[str] = None,
ha_private_mode_subnet_zone: Optional[str] = None,
ha_software_version: Optional[str] = None,
ha_subnet: Optional[str] = None,
ha_zone: Optional[str] = None,
image_version: Optional[str] = None,
included_advertised_spoke_routes: Optional[str] = None,
insane_mode: Optional[bool] = None,
insane_mode_az: Optional[str] = None,
learned_cidrs_approval_mode: Optional[str] = None,
local_as_number: Optional[str] = None,
manage_transit_gateway_attachment: Optional[bool] = None,
monitor_exclude_lists: Optional[Sequence[str]] = None,
oob_availability_zone: Optional[str] = None,
oob_management_subnet: Optional[str] = None,
prepend_as_paths: Optional[Sequence[str]] = None,
private_mode_lb_vpc_id: Optional[str] = None,
private_mode_subnet_zone: Optional[str] = None,
rx_queue_size: Optional[str] = None,
single_az_ha: Optional[bool] = None,
single_ip_snat: Optional[bool] = None,
software_version: Optional[str] = None,
spoke_bgp_manual_advertise_cidrs: Optional[Sequence[str]] = None,
spot_price: Optional[str] = None,
tag_lists: Optional[Sequence[str]] = None,
ha_image_version: Optional[str] = None,
transit_gw: Optional[str] = None,
ha_gw_size: Optional[str] = None,
tunnel_detection_time: Optional[int] = None,
zone: Optional[str] = None)
func NewAviatrixSpokeGateway(ctx *Context, name string, args AviatrixSpokeGatewayArgs, opts ...ResourceOption) (*AviatrixSpokeGateway, error)
public AviatrixSpokeGateway(string name, AviatrixSpokeGatewayArgs args, CustomResourceOptions? opts = null)
public AviatrixSpokeGateway(String name, AviatrixSpokeGatewayArgs args)
public AviatrixSpokeGateway(String name, AviatrixSpokeGatewayArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixSpokeGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AviatrixSpokeGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AviatrixSpokeGatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AviatrixSpokeGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixSpokeGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixSpokeGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var aviatrixSpokeGatewayResource = new Aviatrix.AviatrixSpokeGateway("aviatrixSpokeGatewayResource", new()
{
AccountName = "string",
CloudType = 0,
GwName = "string",
GwSize = "string",
Subnet = "string",
VpcId = "string",
VpcReg = "string",
HaAzureEipNameResourceGroup = "string",
Tags =
{
{ "string", "string" },
},
AzureEipNameResourceGroup = "string",
BgpEcmp = false,
BgpHoldTime = 0,
BgpPollingTime = 0,
CustomerManagedKeys = "string",
CustomizedSpokeVpcRoutes = "string",
DisableRoutePropagation = false,
Eip = "string",
HaInsaneModeAz = "string",
EnableActiveStandbyPreemptive = false,
EnableAutoAdvertiseS2cCidrs = false,
EnableBgp = false,
EnableEncryptVolume = false,
EnableJumboFrame = false,
EnableLearnedCidrsApproval = false,
EnableMonitorGatewaySubnets = false,
EnablePreserveAsPath = false,
EnablePrivateOob = false,
EnablePrivateVpcDefaultRoute = false,
EnableSkipPublicRouteTableUpdate = false,
EnableSpotInstance = false,
EnableVpcDnsServer = false,
FaultDomain = "string",
FilteredSpokeVpcRoutes = "string",
HaAvailabilityDomain = "string",
ApprovedLearnedCidrs = new[]
{
"string",
},
HaEip = "string",
HaFaultDomain = "string",
AllocateNewEip = false,
AvailabilityDomain = "string",
EnableActiveStandby = false,
HaOobAvailabilityZone = "string",
HaOobManagementSubnet = "string",
HaPrivateModeSubnetZone = "string",
HaSoftwareVersion = "string",
HaSubnet = "string",
HaZone = "string",
ImageVersion = "string",
IncludedAdvertisedSpokeRoutes = "string",
InsaneMode = false,
InsaneModeAz = "string",
LearnedCidrsApprovalMode = "string",
LocalAsNumber = "string",
ManageTransitGatewayAttachment = false,
MonitorExcludeLists = new[]
{
"string",
},
OobAvailabilityZone = "string",
OobManagementSubnet = "string",
PrependAsPaths = new[]
{
"string",
},
PrivateModeLbVpcId = "string",
PrivateModeSubnetZone = "string",
RxQueueSize = "string",
SingleAzHa = false,
SingleIpSnat = false,
SoftwareVersion = "string",
SpokeBgpManualAdvertiseCidrs = new[]
{
"string",
},
SpotPrice = "string",
HaImageVersion = "string",
HaGwSize = "string",
TunnelDetectionTime = 0,
Zone = "string",
});
example, err := aviatrix.NewAviatrixSpokeGateway(ctx, "aviatrixSpokeGatewayResource", &aviatrix.AviatrixSpokeGatewayArgs{
AccountName: pulumi.String("string"),
CloudType: pulumi.Int(0),
GwName: pulumi.String("string"),
GwSize: pulumi.String("string"),
Subnet: pulumi.String("string"),
VpcId: pulumi.String("string"),
VpcReg: pulumi.String("string"),
HaAzureEipNameResourceGroup: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
AzureEipNameResourceGroup: pulumi.String("string"),
BgpEcmp: pulumi.Bool(false),
BgpHoldTime: pulumi.Int(0),
BgpPollingTime: pulumi.Int(0),
CustomerManagedKeys: pulumi.String("string"),
CustomizedSpokeVpcRoutes: pulumi.String("string"),
DisableRoutePropagation: pulumi.Bool(false),
Eip: pulumi.String("string"),
HaInsaneModeAz: pulumi.String("string"),
EnableActiveStandbyPreemptive: pulumi.Bool(false),
EnableAutoAdvertiseS2cCidrs: pulumi.Bool(false),
EnableBgp: pulumi.Bool(false),
EnableEncryptVolume: pulumi.Bool(false),
EnableJumboFrame: pulumi.Bool(false),
EnableLearnedCidrsApproval: pulumi.Bool(false),
EnableMonitorGatewaySubnets: pulumi.Bool(false),
EnablePreserveAsPath: pulumi.Bool(false),
EnablePrivateOob: pulumi.Bool(false),
EnablePrivateVpcDefaultRoute: pulumi.Bool(false),
EnableSkipPublicRouteTableUpdate: pulumi.Bool(false),
EnableSpotInstance: pulumi.Bool(false),
EnableVpcDnsServer: pulumi.Bool(false),
FaultDomain: pulumi.String("string"),
FilteredSpokeVpcRoutes: pulumi.String("string"),
HaAvailabilityDomain: pulumi.String("string"),
ApprovedLearnedCidrs: pulumi.StringArray{
pulumi.String("string"),
},
HaEip: pulumi.String("string"),
HaFaultDomain: pulumi.String("string"),
AllocateNewEip: pulumi.Bool(false),
AvailabilityDomain: pulumi.String("string"),
EnableActiveStandby: pulumi.Bool(false),
HaOobAvailabilityZone: pulumi.String("string"),
HaOobManagementSubnet: pulumi.String("string"),
HaPrivateModeSubnetZone: pulumi.String("string"),
HaSoftwareVersion: pulumi.String("string"),
HaSubnet: pulumi.String("string"),
HaZone: pulumi.String("string"),
ImageVersion: pulumi.String("string"),
IncludedAdvertisedSpokeRoutes: pulumi.String("string"),
InsaneMode: pulumi.Bool(false),
InsaneModeAz: pulumi.String("string"),
LearnedCidrsApprovalMode: pulumi.String("string"),
LocalAsNumber: pulumi.String("string"),
ManageTransitGatewayAttachment: pulumi.Bool(false),
MonitorExcludeLists: pulumi.StringArray{
pulumi.String("string"),
},
OobAvailabilityZone: pulumi.String("string"),
OobManagementSubnet: pulumi.String("string"),
PrependAsPaths: pulumi.StringArray{
pulumi.String("string"),
},
PrivateModeLbVpcId: pulumi.String("string"),
PrivateModeSubnetZone: pulumi.String("string"),
RxQueueSize: pulumi.String("string"),
SingleAzHa: pulumi.Bool(false),
SingleIpSnat: pulumi.Bool(false),
SoftwareVersion: pulumi.String("string"),
SpokeBgpManualAdvertiseCidrs: pulumi.StringArray{
pulumi.String("string"),
},
SpotPrice: pulumi.String("string"),
HaImageVersion: pulumi.String("string"),
HaGwSize: pulumi.String("string"),
TunnelDetectionTime: pulumi.Int(0),
Zone: pulumi.String("string"),
})
var aviatrixSpokeGatewayResource = new AviatrixSpokeGateway("aviatrixSpokeGatewayResource", AviatrixSpokeGatewayArgs.builder()
.accountName("string")
.cloudType(0)
.gwName("string")
.gwSize("string")
.subnet("string")
.vpcId("string")
.vpcReg("string")
.haAzureEipNameResourceGroup("string")
.tags(Map.of("string", "string"))
.azureEipNameResourceGroup("string")
.bgpEcmp(false)
.bgpHoldTime(0)
.bgpPollingTime(0)
.customerManagedKeys("string")
.customizedSpokeVpcRoutes("string")
.disableRoutePropagation(false)
.eip("string")
.haInsaneModeAz("string")
.enableActiveStandbyPreemptive(false)
.enableAutoAdvertiseS2cCidrs(false)
.enableBgp(false)
.enableEncryptVolume(false)
.enableJumboFrame(false)
.enableLearnedCidrsApproval(false)
.enableMonitorGatewaySubnets(false)
.enablePreserveAsPath(false)
.enablePrivateOob(false)
.enablePrivateVpcDefaultRoute(false)
.enableSkipPublicRouteTableUpdate(false)
.enableSpotInstance(false)
.enableVpcDnsServer(false)
.faultDomain("string")
.filteredSpokeVpcRoutes("string")
.haAvailabilityDomain("string")
.approvedLearnedCidrs("string")
.haEip("string")
.haFaultDomain("string")
.allocateNewEip(false)
.availabilityDomain("string")
.enableActiveStandby(false)
.haOobAvailabilityZone("string")
.haOobManagementSubnet("string")
.haPrivateModeSubnetZone("string")
.haSoftwareVersion("string")
.haSubnet("string")
.haZone("string")
.imageVersion("string")
.includedAdvertisedSpokeRoutes("string")
.insaneMode(false)
.insaneModeAz("string")
.learnedCidrsApprovalMode("string")
.localAsNumber("string")
.manageTransitGatewayAttachment(false)
.monitorExcludeLists("string")
.oobAvailabilityZone("string")
.oobManagementSubnet("string")
.prependAsPaths("string")
.privateModeLbVpcId("string")
.privateModeSubnetZone("string")
.rxQueueSize("string")
.singleAzHa(false)
.singleIpSnat(false)
.softwareVersion("string")
.spokeBgpManualAdvertiseCidrs("string")
.spotPrice("string")
.haImageVersion("string")
.haGwSize("string")
.tunnelDetectionTime(0)
.zone("string")
.build());
aviatrix_spoke_gateway_resource = aviatrix.AviatrixSpokeGateway("aviatrixSpokeGatewayResource",
account_name="string",
cloud_type=0,
gw_name="string",
gw_size="string",
subnet="string",
vpc_id="string",
vpc_reg="string",
ha_azure_eip_name_resource_group="string",
tags={
"string": "string",
},
azure_eip_name_resource_group="string",
bgp_ecmp=False,
bgp_hold_time=0,
bgp_polling_time=0,
customer_managed_keys="string",
customized_spoke_vpc_routes="string",
disable_route_propagation=False,
eip="string",
ha_insane_mode_az="string",
enable_active_standby_preemptive=False,
enable_auto_advertise_s2c_cidrs=False,
enable_bgp=False,
enable_encrypt_volume=False,
enable_jumbo_frame=False,
enable_learned_cidrs_approval=False,
enable_monitor_gateway_subnets=False,
enable_preserve_as_path=False,
enable_private_oob=False,
enable_private_vpc_default_route=False,
enable_skip_public_route_table_update=False,
enable_spot_instance=False,
enable_vpc_dns_server=False,
fault_domain="string",
filtered_spoke_vpc_routes="string",
ha_availability_domain="string",
approved_learned_cidrs=["string"],
ha_eip="string",
ha_fault_domain="string",
allocate_new_eip=False,
availability_domain="string",
enable_active_standby=False,
ha_oob_availability_zone="string",
ha_oob_management_subnet="string",
ha_private_mode_subnet_zone="string",
ha_software_version="string",
ha_subnet="string",
ha_zone="string",
image_version="string",
included_advertised_spoke_routes="string",
insane_mode=False,
insane_mode_az="string",
learned_cidrs_approval_mode="string",
local_as_number="string",
manage_transit_gateway_attachment=False,
monitor_exclude_lists=["string"],
oob_availability_zone="string",
oob_management_subnet="string",
prepend_as_paths=["string"],
private_mode_lb_vpc_id="string",
private_mode_subnet_zone="string",
rx_queue_size="string",
single_az_ha=False,
single_ip_snat=False,
software_version="string",
spoke_bgp_manual_advertise_cidrs=["string"],
spot_price="string",
ha_image_version="string",
ha_gw_size="string",
tunnel_detection_time=0,
zone="string")
const aviatrixSpokeGatewayResource = new aviatrix.AviatrixSpokeGateway("aviatrixSpokeGatewayResource", {
accountName: "string",
cloudType: 0,
gwName: "string",
gwSize: "string",
subnet: "string",
vpcId: "string",
vpcReg: "string",
haAzureEipNameResourceGroup: "string",
tags: {
string: "string",
},
azureEipNameResourceGroup: "string",
bgpEcmp: false,
bgpHoldTime: 0,
bgpPollingTime: 0,
customerManagedKeys: "string",
customizedSpokeVpcRoutes: "string",
disableRoutePropagation: false,
eip: "string",
haInsaneModeAz: "string",
enableActiveStandbyPreemptive: false,
enableAutoAdvertiseS2cCidrs: false,
enableBgp: false,
enableEncryptVolume: false,
enableJumboFrame: false,
enableLearnedCidrsApproval: false,
enableMonitorGatewaySubnets: false,
enablePreserveAsPath: false,
enablePrivateOob: false,
enablePrivateVpcDefaultRoute: false,
enableSkipPublicRouteTableUpdate: false,
enableSpotInstance: false,
enableVpcDnsServer: false,
faultDomain: "string",
filteredSpokeVpcRoutes: "string",
haAvailabilityDomain: "string",
approvedLearnedCidrs: ["string"],
haEip: "string",
haFaultDomain: "string",
allocateNewEip: false,
availabilityDomain: "string",
enableActiveStandby: false,
haOobAvailabilityZone: "string",
haOobManagementSubnet: "string",
haPrivateModeSubnetZone: "string",
haSoftwareVersion: "string",
haSubnet: "string",
haZone: "string",
imageVersion: "string",
includedAdvertisedSpokeRoutes: "string",
insaneMode: false,
insaneModeAz: "string",
learnedCidrsApprovalMode: "string",
localAsNumber: "string",
manageTransitGatewayAttachment: false,
monitorExcludeLists: ["string"],
oobAvailabilityZone: "string",
oobManagementSubnet: "string",
prependAsPaths: ["string"],
privateModeLbVpcId: "string",
privateModeSubnetZone: "string",
rxQueueSize: "string",
singleAzHa: false,
singleIpSnat: false,
softwareVersion: "string",
spokeBgpManualAdvertiseCidrs: ["string"],
spotPrice: "string",
haImageVersion: "string",
haGwSize: "string",
tunnelDetectionTime: 0,
zone: "string",
});
type: aviatrix:AviatrixSpokeGateway
properties:
accountName: string
allocateNewEip: false
approvedLearnedCidrs:
- string
availabilityDomain: string
azureEipNameResourceGroup: string
bgpEcmp: false
bgpHoldTime: 0
bgpPollingTime: 0
cloudType: 0
customerManagedKeys: string
customizedSpokeVpcRoutes: string
disableRoutePropagation: false
eip: string
enableActiveStandby: false
enableActiveStandbyPreemptive: false
enableAutoAdvertiseS2cCidrs: false
enableBgp: false
enableEncryptVolume: false
enableJumboFrame: false
enableLearnedCidrsApproval: false
enableMonitorGatewaySubnets: false
enablePreserveAsPath: false
enablePrivateOob: false
enablePrivateVpcDefaultRoute: false
enableSkipPublicRouteTableUpdate: false
enableSpotInstance: false
enableVpcDnsServer: false
faultDomain: string
filteredSpokeVpcRoutes: string
gwName: string
gwSize: string
haAvailabilityDomain: string
haAzureEipNameResourceGroup: string
haEip: string
haFaultDomain: string
haGwSize: string
haImageVersion: string
haInsaneModeAz: string
haOobAvailabilityZone: string
haOobManagementSubnet: string
haPrivateModeSubnetZone: string
haSoftwareVersion: string
haSubnet: string
haZone: string
imageVersion: string
includedAdvertisedSpokeRoutes: string
insaneMode: false
insaneModeAz: string
learnedCidrsApprovalMode: string
localAsNumber: string
manageTransitGatewayAttachment: false
monitorExcludeLists:
- string
oobAvailabilityZone: string
oobManagementSubnet: string
prependAsPaths:
- string
privateModeLbVpcId: string
privateModeSubnetZone: string
rxQueueSize: string
singleAzHa: false
singleIpSnat: false
softwareVersion: string
spokeBgpManualAdvertiseCidrs:
- string
spotPrice: string
subnet: string
tags:
string: string
tunnelDetectionTime: 0
vpcId: string
vpcReg: string
zone: string
AviatrixSpokeGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AviatrixSpokeGateway resource accepts the following input properties:
- Account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- Cloud
Type int - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- Gw
Name string - Name of the gateway which is going to be created.
- Gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- Subnet string
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - Vpc
Id string - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- Vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- Allocate
New boolEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- Approved
Learned List<string>Cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - Availability
Domain string - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Azure
Eip stringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Bgp
Ecmp bool - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- Bgp
Hold intTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- Bgp
Polling intTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- Customer
Managed stringKeys - Customer managed key ID.
- Customized
Spoke stringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- Disable
Route boolPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- Eip string
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - Enable
Active boolStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- Enable
Active boolStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- Enable
Auto boolAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Bgp bool - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- Enable
Encrypt boolVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- Enable
Learned boolCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- Enable
Monitor boolGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- Enable
Preserve boolAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- Enable
Private boolOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- Enable
Private boolVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Skip boolPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Spot boolInstance - Enable spot instance. NOT supported for production deployment.
- Enable
Vpc boolDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- Fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Filtered
Spoke stringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- Ha
Availability stringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Ha
Azure stringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Ha
Eip string - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- Ha
Fault stringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Ha
Gw stringSize - HA Gateway Size. Mandatory if enabling HA.
- Ha
Image stringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - Ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - Ha
Oob stringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- Ha
Oob stringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- Ha
Private stringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - Ha
Software stringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - Ha
Subnet string - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- Ha
Zone string - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- Image
Version string - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - Included
Advertised stringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- Insane
Mode bool - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- Insane
Mode stringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - Learned
Cidrs stringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- Local
As stringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- Manage
Transit boolGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - Monitor
Exclude List<string>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- Oob
Availability stringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- Oob
Management stringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- Prepend
As List<string>Paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- Private
Mode stringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- Private
Mode stringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - Rx
Queue stringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- Single
Az boolHa - Set to true if this feature is desired. Valid values: true, false.
- Single
Ip boolSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- Software
Version string - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - Spoke
Bgp List<string>Manual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- Spot
Price string - Price for spot instance. NOT supported for production deployment.
- Tag
Lists List<string> - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- Dictionary<string, string>
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- Transit
Gw string - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- Tunnel
Detection intTime - The IPSec tunnel down detection time for the Spoke Gateway.
- Zone string
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- Account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- Cloud
Type int - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- Gw
Name string - Name of the gateway which is going to be created.
- Gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- Subnet string
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - Vpc
Id string - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- Vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- Allocate
New boolEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- Approved
Learned []stringCidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - Availability
Domain string - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Azure
Eip stringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Bgp
Ecmp bool - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- Bgp
Hold intTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- Bgp
Polling intTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- Customer
Managed stringKeys - Customer managed key ID.
- Customized
Spoke stringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- Disable
Route boolPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- Eip string
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - Enable
Active boolStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- Enable
Active boolStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- Enable
Auto boolAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Bgp bool - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- Enable
Encrypt boolVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- Enable
Learned boolCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- Enable
Monitor boolGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- Enable
Preserve boolAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- Enable
Private boolOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- Enable
Private boolVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Skip boolPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Spot boolInstance - Enable spot instance. NOT supported for production deployment.
- Enable
Vpc boolDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- Fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Filtered
Spoke stringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- Ha
Availability stringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Ha
Azure stringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Ha
Eip string - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- Ha
Fault stringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Ha
Gw stringSize - HA Gateway Size. Mandatory if enabling HA.
- Ha
Image stringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - Ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - Ha
Oob stringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- Ha
Oob stringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- Ha
Private stringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - Ha
Software stringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - Ha
Subnet string - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- Ha
Zone string - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- Image
Version string - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - Included
Advertised stringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- Insane
Mode bool - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- Insane
Mode stringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - Learned
Cidrs stringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- Local
As stringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- Manage
Transit boolGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - Monitor
Exclude []stringLists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- Oob
Availability stringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- Oob
Management stringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- Prepend
As []stringPaths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- Private
Mode stringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- Private
Mode stringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - Rx
Queue stringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- Single
Az boolHa - Set to true if this feature is desired. Valid values: true, false.
- Single
Ip boolSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- Software
Version string - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - Spoke
Bgp []stringManual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- Spot
Price string - Price for spot instance. NOT supported for production deployment.
- Tag
Lists []string - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- map[string]string
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- Transit
Gw string - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- Tunnel
Detection intTime - The IPSec tunnel down detection time for the Spoke Gateway.
- Zone string
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- account
Name String - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type Integer - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- gw
Name String - Name of the gateway which is going to be created.
- gw
Size String - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- subnet String
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - vpc
Id String - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- vpc
Reg String - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- allocate
New BooleanEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- approved
Learned List<String>Cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - availability
Domain String - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- azure
Eip StringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - bgp
Ecmp Boolean - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- bgp
Hold IntegerTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling IntegerTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- customer
Managed StringKeys - Customer managed key ID.
- customized
Spoke StringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- disable
Route BooleanPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- eip String
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - enable
Active BooleanStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- enable
Active BooleanStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- enable
Auto BooleanAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Bgp Boolean - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- enable
Encrypt BooleanVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- enable
Learned BooleanCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- enable
Monitor BooleanGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- enable
Preserve BooleanAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- enable
Private BooleanOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- enable
Private BooleanVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Skip BooleanPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Spot BooleanInstance - Enable spot instance. NOT supported for production deployment.
- enable
Vpc BooleanDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- fault
Domain String - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- filtered
Spoke StringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- ha
Availability StringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Azure StringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - ha
Eip String - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- ha
Fault StringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Gw StringSize - HA Gateway Size. Mandatory if enabling HA.
- ha
Image StringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - ha
Insane StringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - ha
Oob StringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- ha
Oob StringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- ha
Private StringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - ha
Software StringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - ha
Subnet String - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- ha
Zone String - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- image
Version String - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - included
Advertised StringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- insane
Mode Boolean - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- insane
Mode StringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - learned
Cidrs StringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- local
As StringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- manage
Transit BooleanGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - monitor
Exclude List<String>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- oob
Availability StringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- oob
Management StringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- prepend
As List<String>Paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- private
Mode StringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- private
Mode StringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - rx
Queue StringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- single
Az BooleanHa - Set to true if this feature is desired. Valid values: true, false.
- single
Ip BooleanSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- software
Version String - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - spoke
Bgp List<String>Manual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- spot
Price String - Price for spot instance. NOT supported for production deployment.
- tag
Lists List<String> - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- Map<String,String>
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- transit
Gw String - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- tunnel
Detection IntegerTime - The IPSec tunnel down detection time for the Spoke Gateway.
- zone String
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type number - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- gw
Name string - Name of the gateway which is going to be created.
- gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- subnet string
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - vpc
Id string - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- allocate
New booleanEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- approved
Learned string[]Cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - availability
Domain string - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- azure
Eip stringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - bgp
Ecmp boolean - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- bgp
Hold numberTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling numberTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- customer
Managed stringKeys - Customer managed key ID.
- customized
Spoke stringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- disable
Route booleanPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- eip string
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - enable
Active booleanStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- enable
Active booleanStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- enable
Auto booleanAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Bgp boolean - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- enable
Encrypt booleanVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- enable
Jumbo booleanFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- enable
Learned booleanCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- enable
Monitor booleanGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- enable
Preserve booleanAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- enable
Private booleanOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- enable
Private booleanVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Skip booleanPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Spot booleanInstance - Enable spot instance. NOT supported for production deployment.
- enable
Vpc booleanDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- filtered
Spoke stringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- ha
Availability stringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Azure stringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - ha
Eip string - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- ha
Fault stringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Gw stringSize - HA Gateway Size. Mandatory if enabling HA.
- ha
Image stringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - ha
Oob stringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- ha
Oob stringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- ha
Private stringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - ha
Software stringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - ha
Subnet string - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- ha
Zone string - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- image
Version string - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - included
Advertised stringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- insane
Mode boolean - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- insane
Mode stringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - learned
Cidrs stringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- local
As stringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- manage
Transit booleanGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - monitor
Exclude string[]Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- oob
Availability stringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- oob
Management stringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- prepend
As string[]Paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- private
Mode stringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- private
Mode stringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - rx
Queue stringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- single
Az booleanHa - Set to true if this feature is desired. Valid values: true, false.
- single
Ip booleanSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- software
Version string - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - spoke
Bgp string[]Manual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- spot
Price string - Price for spot instance. NOT supported for production deployment.
- tag
Lists string[] - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- {[key: string]: string}
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- transit
Gw string - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- tunnel
Detection numberTime - The IPSec tunnel down detection time for the Spoke Gateway.
- zone string
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- account_
name str - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud_
type int - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- gw_
name str - Name of the gateway which is going to be created.
- gw_
size str - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- subnet str
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - vpc_
id str - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- vpc_
reg str - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- allocate_
new_ booleip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- approved_
learned_ Sequence[str]cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - availability_
domain str - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- azure_
eip_ strname_ resource_ group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - bgp_
ecmp bool - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- bgp_
hold_ inttime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp_
polling_ inttime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- customer_
managed_ strkeys - Customer managed key ID.
- customized_
spoke_ strvpc_ routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- disable_
route_ boolpropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- eip str
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - enable_
active_ boolstandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- enable_
active_ boolstandby_ preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- enable_
auto_ booladvertise_ s2c_ cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable_
bgp bool - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- enable_
encrypt_ boolvolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- enable_
jumbo_ boolframe - Enable jumbo frames for this spoke gateway. Default value is true.
- enable_
learned_ boolcidrs_ approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- enable_
monitor_ boolgateway_ subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- enable_
preserve_ boolas_ path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- enable_
private_ booloob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- enable_
private_ boolvpc_ default_ route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable_
skip_ boolpublic_ route_ table_ update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable_
spot_ boolinstance - Enable spot instance. NOT supported for production deployment.
- enable_
vpc_ booldns_ server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- fault_
domain str - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- filtered_
spoke_ strvpc_ routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- ha_
availability_ strdomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha_
azure_ streip_ name_ resource_ group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - ha_
eip str - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- ha_
fault_ strdomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha_
gw_ strsize - HA Gateway Size. Mandatory if enabling HA.
- ha_
image_ strversion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - ha_
insane_ strmode_ az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - ha_
oob_ stravailability_ zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- ha_
oob_ strmanagement_ subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- ha_
private_ strmode_ subnet_ zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - ha_
software_ strversion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - ha_
subnet str - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- ha_
zone str - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- image_
version str - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - included_
advertised_ strspoke_ routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- insane_
mode bool - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- insane_
mode_ straz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - learned_
cidrs_ strapproval_ mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- local_
as_ strnumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- manage_
transit_ boolgateway_ attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - monitor_
exclude_ Sequence[str]lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- oob_
availability_ strzone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- oob_
management_ strsubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- prepend_
as_ Sequence[str]paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- private_
mode_ strlb_ vpc_ id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- private_
mode_ strsubnet_ zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - rx_
queue_ strsize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- single_
az_ boolha - Set to true if this feature is desired. Valid values: true, false.
- single_
ip_ boolsnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- software_
version str - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - spoke_
bgp_ Sequence[str]manual_ advertise_ cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- spot_
price str - Price for spot instance. NOT supported for production deployment.
- tag_
lists Sequence[str] - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- Mapping[str, str]
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- transit_
gw str - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- tunnel_
detection_ inttime - The IPSec tunnel down detection time for the Spoke Gateway.
- zone str
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- account
Name String - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type Number - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- gw
Name String - Name of the gateway which is going to be created.
- gw
Size String - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- subnet String
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - vpc
Id String - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- vpc
Reg String - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- allocate
New BooleanEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- approved
Learned List<String>Cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - availability
Domain String - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- azure
Eip StringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - bgp
Ecmp Boolean - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- bgp
Hold NumberTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling NumberTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- customer
Managed StringKeys - Customer managed key ID.
- customized
Spoke StringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- disable
Route BooleanPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- eip String
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - enable
Active BooleanStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- enable
Active BooleanStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- enable
Auto BooleanAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Bgp Boolean - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- enable
Encrypt BooleanVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- enable
Learned BooleanCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- enable
Monitor BooleanGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- enable
Preserve BooleanAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- enable
Private BooleanOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- enable
Private BooleanVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Skip BooleanPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Spot BooleanInstance - Enable spot instance. NOT supported for production deployment.
- enable
Vpc BooleanDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- fault
Domain String - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- filtered
Spoke StringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- ha
Availability StringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Azure StringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - ha
Eip String - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- ha
Fault StringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Gw StringSize - HA Gateway Size. Mandatory if enabling HA.
- ha
Image StringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - ha
Insane StringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - ha
Oob StringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- ha
Oob StringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- ha
Private StringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - ha
Software StringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - ha
Subnet String - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- ha
Zone String - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- image
Version String - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - included
Advertised StringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- insane
Mode Boolean - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- insane
Mode StringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - learned
Cidrs StringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- local
As StringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- manage
Transit BooleanGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - monitor
Exclude List<String>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- oob
Availability StringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- oob
Management StringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- prepend
As List<String>Paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- private
Mode StringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- private
Mode StringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - rx
Queue StringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- single
Az BooleanHa - Set to true if this feature is desired. Valid values: true, false.
- single
Ip BooleanSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- software
Version String - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - spoke
Bgp List<String>Manual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- spot
Price String - Price for spot instance. NOT supported for production deployment.
- tag
Lists List<String> - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- Map<String>
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- transit
Gw String - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- tunnel
Detection NumberTime - The IPSec tunnel down detection time for the Spoke Gateway.
- zone String
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixSpokeGateway resource produces the following output properties:
- Cloud
Instance stringId - Cloud instance ID of the spoke gateway.
- Ha
Cloud stringInstance Id - Cloud instance ID of the HA spoke gateway.
- Ha
Gw stringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- Ha
Private stringIp - Private IP address of HA spoke gateway.
- Ha
Public stringIp - Public IP address of the HA Spoke Gateway.
- Ha
Security stringGroup Id - HA security group used for the spoke gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ip string - Private IP address of the spoke gateway created.
- Public
Ip string - Public IP address of the Spoke Gateway created.
- Security
Group stringId - Security group used for the spoke gateway.
- Cloud
Instance stringId - Cloud instance ID of the spoke gateway.
- Ha
Cloud stringInstance Id - Cloud instance ID of the HA spoke gateway.
- Ha
Gw stringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- Ha
Private stringIp - Private IP address of HA spoke gateway.
- Ha
Public stringIp - Public IP address of the HA Spoke Gateway.
- Ha
Security stringGroup Id - HA security group used for the spoke gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ip string - Private IP address of the spoke gateway created.
- Public
Ip string - Public IP address of the Spoke Gateway created.
- Security
Group stringId - Security group used for the spoke gateway.
- cloud
Instance StringId - Cloud instance ID of the spoke gateway.
- ha
Cloud StringInstance Id - Cloud instance ID of the HA spoke gateway.
- ha
Gw StringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- ha
Private StringIp - Private IP address of HA spoke gateway.
- ha
Public StringIp - Public IP address of the HA Spoke Gateway.
- ha
Security StringGroup Id - HA security group used for the spoke gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Ip String - Private IP address of the spoke gateway created.
- public
Ip String - Public IP address of the Spoke Gateway created.
- security
Group StringId - Security group used for the spoke gateway.
- cloud
Instance stringId - Cloud instance ID of the spoke gateway.
- ha
Cloud stringInstance Id - Cloud instance ID of the HA spoke gateway.
- ha
Gw stringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- ha
Private stringIp - Private IP address of HA spoke gateway.
- ha
Public stringIp - Public IP address of the HA Spoke Gateway.
- ha
Security stringGroup Id - HA security group used for the spoke gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Ip string - Private IP address of the spoke gateway created.
- public
Ip string - Public IP address of the Spoke Gateway created.
- security
Group stringId - Security group used for the spoke gateway.
- cloud_
instance_ strid - Cloud instance ID of the spoke gateway.
- ha_
cloud_ strinstance_ id - Cloud instance ID of the HA spoke gateway.
- ha_
gw_ strname - Aviatrix spoke gateway unique name of HA spoke gateway.
- ha_
private_ strip - Private IP address of HA spoke gateway.
- ha_
public_ strip - Public IP address of the HA Spoke Gateway.
- ha_
security_ strgroup_ id - HA security group used for the spoke gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- private_
ip str - Private IP address of the spoke gateway created.
- public_
ip str - Public IP address of the Spoke Gateway created.
- security_
group_ strid - Security group used for the spoke gateway.
- cloud
Instance StringId - Cloud instance ID of the spoke gateway.
- ha
Cloud StringInstance Id - Cloud instance ID of the HA spoke gateway.
- ha
Gw StringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- ha
Private StringIp - Private IP address of HA spoke gateway.
- ha
Public StringIp - Public IP address of the HA Spoke Gateway.
- ha
Security StringGroup Id - HA security group used for the spoke gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Ip String - Private IP address of the spoke gateway created.
- public
Ip String - Public IP address of the Spoke Gateway created.
- security
Group StringId - Security group used for the spoke gateway.
Look up Existing AviatrixSpokeGateway Resource
Get an existing AviatrixSpokeGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AviatrixSpokeGatewayState, opts?: CustomResourceOptions): AviatrixSpokeGateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
allocate_new_eip: Optional[bool] = None,
approved_learned_cidrs: Optional[Sequence[str]] = None,
availability_domain: Optional[str] = None,
azure_eip_name_resource_group: Optional[str] = None,
bgp_ecmp: Optional[bool] = None,
bgp_hold_time: Optional[int] = None,
bgp_polling_time: Optional[int] = None,
cloud_instance_id: Optional[str] = None,
cloud_type: Optional[int] = None,
customer_managed_keys: Optional[str] = None,
customized_spoke_vpc_routes: Optional[str] = None,
disable_route_propagation: Optional[bool] = None,
eip: Optional[str] = None,
enable_active_standby: Optional[bool] = None,
enable_active_standby_preemptive: Optional[bool] = None,
enable_auto_advertise_s2c_cidrs: Optional[bool] = None,
enable_bgp: Optional[bool] = None,
enable_encrypt_volume: Optional[bool] = None,
enable_jumbo_frame: Optional[bool] = None,
enable_learned_cidrs_approval: Optional[bool] = None,
enable_monitor_gateway_subnets: Optional[bool] = None,
enable_preserve_as_path: Optional[bool] = None,
enable_private_oob: Optional[bool] = None,
enable_private_vpc_default_route: Optional[bool] = None,
enable_skip_public_route_table_update: Optional[bool] = None,
enable_spot_instance: Optional[bool] = None,
enable_vpc_dns_server: Optional[bool] = None,
fault_domain: Optional[str] = None,
filtered_spoke_vpc_routes: Optional[str] = None,
gw_name: Optional[str] = None,
gw_size: Optional[str] = None,
ha_availability_domain: Optional[str] = None,
ha_azure_eip_name_resource_group: Optional[str] = None,
ha_cloud_instance_id: Optional[str] = None,
ha_eip: Optional[str] = None,
ha_fault_domain: Optional[str] = None,
ha_gw_name: Optional[str] = None,
ha_gw_size: Optional[str] = None,
ha_image_version: Optional[str] = None,
ha_insane_mode_az: Optional[str] = None,
ha_oob_availability_zone: Optional[str] = None,
ha_oob_management_subnet: Optional[str] = None,
ha_private_ip: Optional[str] = None,
ha_private_mode_subnet_zone: Optional[str] = None,
ha_public_ip: Optional[str] = None,
ha_security_group_id: Optional[str] = None,
ha_software_version: Optional[str] = None,
ha_subnet: Optional[str] = None,
ha_zone: Optional[str] = None,
image_version: Optional[str] = None,
included_advertised_spoke_routes: Optional[str] = None,
insane_mode: Optional[bool] = None,
insane_mode_az: Optional[str] = None,
learned_cidrs_approval_mode: Optional[str] = None,
local_as_number: Optional[str] = None,
manage_transit_gateway_attachment: Optional[bool] = None,
monitor_exclude_lists: Optional[Sequence[str]] = None,
oob_availability_zone: Optional[str] = None,
oob_management_subnet: Optional[str] = None,
prepend_as_paths: Optional[Sequence[str]] = None,
private_ip: Optional[str] = None,
private_mode_lb_vpc_id: Optional[str] = None,
private_mode_subnet_zone: Optional[str] = None,
public_ip: Optional[str] = None,
rx_queue_size: Optional[str] = None,
security_group_id: Optional[str] = None,
single_az_ha: Optional[bool] = None,
single_ip_snat: Optional[bool] = None,
software_version: Optional[str] = None,
spoke_bgp_manual_advertise_cidrs: Optional[Sequence[str]] = None,
spot_price: Optional[str] = None,
subnet: Optional[str] = None,
tag_lists: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
transit_gw: Optional[str] = None,
tunnel_detection_time: Optional[int] = None,
vpc_id: Optional[str] = None,
vpc_reg: Optional[str] = None,
zone: Optional[str] = None) -> AviatrixSpokeGateway
func GetAviatrixSpokeGateway(ctx *Context, name string, id IDInput, state *AviatrixSpokeGatewayState, opts ...ResourceOption) (*AviatrixSpokeGateway, error)
public static AviatrixSpokeGateway Get(string name, Input<string> id, AviatrixSpokeGatewayState? state, CustomResourceOptions? opts = null)
public static AviatrixSpokeGateway get(String name, Output<String> id, AviatrixSpokeGatewayState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- Allocate
New boolEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- Approved
Learned List<string>Cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - Availability
Domain string - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Azure
Eip stringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Bgp
Ecmp bool - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- Bgp
Hold intTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- Bgp
Polling intTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- Cloud
Instance stringId - Cloud instance ID of the spoke gateway.
- Cloud
Type int - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- Customer
Managed stringKeys - Customer managed key ID.
- Customized
Spoke stringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- Disable
Route boolPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- Eip string
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - Enable
Active boolStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- Enable
Active boolStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- Enable
Auto boolAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Bgp bool - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- Enable
Encrypt boolVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- Enable
Learned boolCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- Enable
Monitor boolGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- Enable
Preserve boolAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- Enable
Private boolOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- Enable
Private boolVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Skip boolPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Spot boolInstance - Enable spot instance. NOT supported for production deployment.
- Enable
Vpc boolDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- Fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Filtered
Spoke stringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- Gw
Name string - Name of the gateway which is going to be created.
- Gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- Ha
Availability stringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Ha
Azure stringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Ha
Cloud stringInstance Id - Cloud instance ID of the HA spoke gateway.
- Ha
Eip string - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- Ha
Fault stringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Ha
Gw stringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- Ha
Gw stringSize - HA Gateway Size. Mandatory if enabling HA.
- Ha
Image stringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - Ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - Ha
Oob stringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- Ha
Oob stringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- Ha
Private stringIp - Private IP address of HA spoke gateway.
- Ha
Private stringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - Ha
Public stringIp - Public IP address of the HA Spoke Gateway.
- Ha
Security stringGroup Id - HA security group used for the spoke gateway.
- Ha
Software stringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - Ha
Subnet string - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- Ha
Zone string - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- Image
Version string - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - Included
Advertised stringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- Insane
Mode bool - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- Insane
Mode stringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - Learned
Cidrs stringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- Local
As stringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- Manage
Transit boolGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - Monitor
Exclude List<string>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- Oob
Availability stringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- Oob
Management stringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- Prepend
As List<string>Paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- Private
Ip string - Private IP address of the spoke gateway created.
- Private
Mode stringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- Private
Mode stringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - Public
Ip string - Public IP address of the Spoke Gateway created.
- Rx
Queue stringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- Security
Group stringId - Security group used for the spoke gateway.
- Single
Az boolHa - Set to true if this feature is desired. Valid values: true, false.
- Single
Ip boolSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- Software
Version string - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - Spoke
Bgp List<string>Manual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- Spot
Price string - Price for spot instance. NOT supported for production deployment.
- Subnet string
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - Tag
Lists List<string> - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- Dictionary<string, string>
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- Transit
Gw string - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- Tunnel
Detection intTime - The IPSec tunnel down detection time for the Spoke Gateway.
- Vpc
Id string - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- Vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- Zone string
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- Account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- Allocate
New boolEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- Approved
Learned []stringCidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - Availability
Domain string - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Azure
Eip stringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Bgp
Ecmp bool - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- Bgp
Hold intTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- Bgp
Polling intTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- Cloud
Instance stringId - Cloud instance ID of the spoke gateway.
- Cloud
Type int - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- Customer
Managed stringKeys - Customer managed key ID.
- Customized
Spoke stringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- Disable
Route boolPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- Eip string
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - Enable
Active boolStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- Enable
Active boolStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- Enable
Auto boolAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Bgp bool - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- Enable
Encrypt boolVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- Enable
Learned boolCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- Enable
Monitor boolGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- Enable
Preserve boolAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- Enable
Private boolOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- Enable
Private boolVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Skip boolPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Spot boolInstance - Enable spot instance. NOT supported for production deployment.
- Enable
Vpc boolDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- Fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Filtered
Spoke stringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- Gw
Name string - Name of the gateway which is going to be created.
- Gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- Ha
Availability stringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Ha
Azure stringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Ha
Cloud stringInstance Id - Cloud instance ID of the HA spoke gateway.
- Ha
Eip string - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- Ha
Fault stringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Ha
Gw stringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- Ha
Gw stringSize - HA Gateway Size. Mandatory if enabling HA.
- Ha
Image stringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - Ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - Ha
Oob stringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- Ha
Oob stringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- Ha
Private stringIp - Private IP address of HA spoke gateway.
- Ha
Private stringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - Ha
Public stringIp - Public IP address of the HA Spoke Gateway.
- Ha
Security stringGroup Id - HA security group used for the spoke gateway.
- Ha
Software stringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - Ha
Subnet string - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- Ha
Zone string - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- Image
Version string - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - Included
Advertised stringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- Insane
Mode bool - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- Insane
Mode stringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - Learned
Cidrs stringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- Local
As stringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- Manage
Transit boolGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - Monitor
Exclude []stringLists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- Oob
Availability stringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- Oob
Management stringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- Prepend
As []stringPaths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- Private
Ip string - Private IP address of the spoke gateway created.
- Private
Mode stringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- Private
Mode stringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - Public
Ip string - Public IP address of the Spoke Gateway created.
- Rx
Queue stringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- Security
Group stringId - Security group used for the spoke gateway.
- Single
Az boolHa - Set to true if this feature is desired. Valid values: true, false.
- Single
Ip boolSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- Software
Version string - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - Spoke
Bgp []stringManual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- Spot
Price string - Price for spot instance. NOT supported for production deployment.
- Subnet string
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - Tag
Lists []string - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- map[string]string
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- Transit
Gw string - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- Tunnel
Detection intTime - The IPSec tunnel down detection time for the Spoke Gateway.
- Vpc
Id string - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- Vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- Zone string
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- account
Name String - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- allocate
New BooleanEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- approved
Learned List<String>Cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - availability
Domain String - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- azure
Eip StringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - bgp
Ecmp Boolean - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- bgp
Hold IntegerTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling IntegerTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- cloud
Instance StringId - Cloud instance ID of the spoke gateway.
- cloud
Type Integer - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- customer
Managed StringKeys - Customer managed key ID.
- customized
Spoke StringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- disable
Route BooleanPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- eip String
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - enable
Active BooleanStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- enable
Active BooleanStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- enable
Auto BooleanAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Bgp Boolean - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- enable
Encrypt BooleanVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- enable
Learned BooleanCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- enable
Monitor BooleanGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- enable
Preserve BooleanAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- enable
Private BooleanOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- enable
Private BooleanVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Skip BooleanPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Spot BooleanInstance - Enable spot instance. NOT supported for production deployment.
- enable
Vpc BooleanDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- fault
Domain String - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- filtered
Spoke StringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- gw
Name String - Name of the gateway which is going to be created.
- gw
Size String - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- ha
Availability StringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Azure StringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - ha
Cloud StringInstance Id - Cloud instance ID of the HA spoke gateway.
- ha
Eip String - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- ha
Fault StringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Gw StringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- ha
Gw StringSize - HA Gateway Size. Mandatory if enabling HA.
- ha
Image StringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - ha
Insane StringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - ha
Oob StringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- ha
Oob StringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- ha
Private StringIp - Private IP address of HA spoke gateway.
- ha
Private StringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - ha
Public StringIp - Public IP address of the HA Spoke Gateway.
- ha
Security StringGroup Id - HA security group used for the spoke gateway.
- ha
Software StringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - ha
Subnet String - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- ha
Zone String - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- image
Version String - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - included
Advertised StringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- insane
Mode Boolean - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- insane
Mode StringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - learned
Cidrs StringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- local
As StringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- manage
Transit BooleanGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - monitor
Exclude List<String>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- oob
Availability StringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- oob
Management StringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- prepend
As List<String>Paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- private
Ip String - Private IP address of the spoke gateway created.
- private
Mode StringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- private
Mode StringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - public
Ip String - Public IP address of the Spoke Gateway created.
- rx
Queue StringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- security
Group StringId - Security group used for the spoke gateway.
- single
Az BooleanHa - Set to true if this feature is desired. Valid values: true, false.
- single
Ip BooleanSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- software
Version String - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - spoke
Bgp List<String>Manual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- spot
Price String - Price for spot instance. NOT supported for production deployment.
- subnet String
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - tag
Lists List<String> - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- Map<String,String>
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- transit
Gw String - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- tunnel
Detection IntegerTime - The IPSec tunnel down detection time for the Spoke Gateway.
- vpc
Id String - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- vpc
Reg String - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- zone String
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- allocate
New booleanEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- approved
Learned string[]Cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - availability
Domain string - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- azure
Eip stringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - bgp
Ecmp boolean - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- bgp
Hold numberTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling numberTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- cloud
Instance stringId - Cloud instance ID of the spoke gateway.
- cloud
Type number - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- customer
Managed stringKeys - Customer managed key ID.
- customized
Spoke stringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- disable
Route booleanPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- eip string
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - enable
Active booleanStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- enable
Active booleanStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- enable
Auto booleanAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Bgp boolean - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- enable
Encrypt booleanVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- enable
Jumbo booleanFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- enable
Learned booleanCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- enable
Monitor booleanGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- enable
Preserve booleanAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- enable
Private booleanOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- enable
Private booleanVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Skip booleanPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Spot booleanInstance - Enable spot instance. NOT supported for production deployment.
- enable
Vpc booleanDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- filtered
Spoke stringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- gw
Name string - Name of the gateway which is going to be created.
- gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- ha
Availability stringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Azure stringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - ha
Cloud stringInstance Id - Cloud instance ID of the HA spoke gateway.
- ha
Eip string - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- ha
Fault stringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Gw stringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- ha
Gw stringSize - HA Gateway Size. Mandatory if enabling HA.
- ha
Image stringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - ha
Oob stringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- ha
Oob stringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- ha
Private stringIp - Private IP address of HA spoke gateway.
- ha
Private stringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - ha
Public stringIp - Public IP address of the HA Spoke Gateway.
- ha
Security stringGroup Id - HA security group used for the spoke gateway.
- ha
Software stringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - ha
Subnet string - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- ha
Zone string - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- image
Version string - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - included
Advertised stringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- insane
Mode boolean - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- insane
Mode stringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - learned
Cidrs stringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- local
As stringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- manage
Transit booleanGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - monitor
Exclude string[]Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- oob
Availability stringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- oob
Management stringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- prepend
As string[]Paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- private
Ip string - Private IP address of the spoke gateway created.
- private
Mode stringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- private
Mode stringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - public
Ip string - Public IP address of the Spoke Gateway created.
- rx
Queue stringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- security
Group stringId - Security group used for the spoke gateway.
- single
Az booleanHa - Set to true if this feature is desired. Valid values: true, false.
- single
Ip booleanSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- software
Version string - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - spoke
Bgp string[]Manual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- spot
Price string - Price for spot instance. NOT supported for production deployment.
- subnet string
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - tag
Lists string[] - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- {[key: string]: string}
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- transit
Gw string - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- tunnel
Detection numberTime - The IPSec tunnel down detection time for the Spoke Gateway.
- vpc
Id string - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- zone string
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- account_
name str - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- allocate_
new_ booleip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- approved_
learned_ Sequence[str]cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - availability_
domain str - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- azure_
eip_ strname_ resource_ group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - bgp_
ecmp bool - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- bgp_
hold_ inttime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp_
polling_ inttime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- cloud_
instance_ strid - Cloud instance ID of the spoke gateway.
- cloud_
type int - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- customer_
managed_ strkeys - Customer managed key ID.
- customized_
spoke_ strvpc_ routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- disable_
route_ boolpropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- eip str
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - enable_
active_ boolstandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- enable_
active_ boolstandby_ preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- enable_
auto_ booladvertise_ s2c_ cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable_
bgp bool - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- enable_
encrypt_ boolvolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- enable_
jumbo_ boolframe - Enable jumbo frames for this spoke gateway. Default value is true.
- enable_
learned_ boolcidrs_ approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- enable_
monitor_ boolgateway_ subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- enable_
preserve_ boolas_ path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- enable_
private_ booloob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- enable_
private_ boolvpc_ default_ route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable_
skip_ boolpublic_ route_ table_ update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable_
spot_ boolinstance - Enable spot instance. NOT supported for production deployment.
- enable_
vpc_ booldns_ server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- fault_
domain str - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- filtered_
spoke_ strvpc_ routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- gw_
name str - Name of the gateway which is going to be created.
- gw_
size str - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- ha_
availability_ strdomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha_
azure_ streip_ name_ resource_ group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - ha_
cloud_ strinstance_ id - Cloud instance ID of the HA spoke gateway.
- ha_
eip str - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- ha_
fault_ strdomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha_
gw_ strname - Aviatrix spoke gateway unique name of HA spoke gateway.
- ha_
gw_ strsize - HA Gateway Size. Mandatory if enabling HA.
- ha_
image_ strversion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - ha_
insane_ strmode_ az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - ha_
oob_ stravailability_ zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- ha_
oob_ strmanagement_ subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- ha_
private_ strip - Private IP address of HA spoke gateway.
- ha_
private_ strmode_ subnet_ zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - ha_
public_ strip - Public IP address of the HA Spoke Gateway.
- ha_
security_ strgroup_ id - HA security group used for the spoke gateway.
- ha_
software_ strversion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - ha_
subnet str - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- ha_
zone str - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- image_
version str - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - included_
advertised_ strspoke_ routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- insane_
mode bool - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- insane_
mode_ straz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - learned_
cidrs_ strapproval_ mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- local_
as_ strnumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- manage_
transit_ boolgateway_ attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - monitor_
exclude_ Sequence[str]lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- oob_
availability_ strzone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- oob_
management_ strsubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- prepend_
as_ Sequence[str]paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- private_
ip str - Private IP address of the spoke gateway created.
- private_
mode_ strlb_ vpc_ id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- private_
mode_ strsubnet_ zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - public_
ip str - Public IP address of the Spoke Gateway created.
- rx_
queue_ strsize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- security_
group_ strid - Security group used for the spoke gateway.
- single_
az_ boolha - Set to true if this feature is desired. Valid values: true, false.
- single_
ip_ boolsnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- software_
version str - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - spoke_
bgp_ Sequence[str]manual_ advertise_ cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- spot_
price str - Price for spot instance. NOT supported for production deployment.
- subnet str
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - tag_
lists Sequence[str] - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- Mapping[str, str]
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- transit_
gw str - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- tunnel_
detection_ inttime - The IPSec tunnel down detection time for the Spoke Gateway.
- vpc_
id str - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- vpc_
reg str - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- zone str
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
- account
Name String - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- allocate
New BooleanEip - When value is false, reuse an idle address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 4.7+. Valid values: true, false. Default: true.
- approved
Learned List<String>Cidrs - A set of approved learned CIDRs. Only valid when
enable_learned_cidrs_approval
is set to true. Example: ["10.250.0.0/16", "10.251.0.0/16"]. Available as of provider version R2.21+. - availability
Domain String - Availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- azure
Eip StringName Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - bgp
Ecmp Boolean - Enable Equal Cost Multi Path (ECMP) routing for the next hop. Default value: false.
- bgp
Hold NumberTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling NumberTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: "50".
- cloud
Instance StringId - Cloud instance ID of the spoke gateway.
- cloud
Type Number - Type of cloud service provider, requires an integer value. Currently, only AWS(1), GCP(4), Azure(8), OCI(16), AzureGov(32), AWSGov(256), AWSChina(1024), AzureChina(2048), Alibaba Cloud(8192), AWS Top Secret(16384) and AWS Secret (32768) are supported.
- customer
Managed StringKeys - Customer managed key ID.
- customized
Spoke StringVpc Routes - A list of comma separated CIDRs to be customized for the spoke VPC routes. When configured, it will replace all learned routes in VPC routing tables, including RFC1918 and non-RFC1918 CIDRs. It applies to this spoke gateway only. Example: "10.0.0.0/116,10.2.0.0/16".
- disable
Route BooleanPropagation - Disables route propagation on BGP Spoke to attached Transit Gateway. Default value: false.
- eip String
- Required when
allocate_new_eip
is false. It uses the specified EIP for this gateway. Available in Controller 4.7+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - enable
Active BooleanStandby - Enables Active-Standby Mode. Available only with HA enabled. Valid values: true, false. Default value: false.
- enable
Active BooleanStandby Preemptive - Enables Preemptive Mode for Active-Standby. Available only with BGP enabled, HA enabled and Active-Standby enabled. Valid values: true, false. Default value: false.
- enable
Auto BooleanAdvertise S2c Cidrs - Auto Advertise Spoke Site2Cloud CIDRs. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Bgp Boolean - Enable BGP for this spoke gateway. Only available for AWS and Azure. Valid values: true, false. Default value: false. Available in provider R2.21.0+.
- enable
Encrypt BooleanVolume - Enable EBS volume encryption for Gateway. Only supports AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret providers. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Enable jumbo frames for this spoke gateway. Default value is true.
- enable
Learned BooleanCidrs Approval - Switch to enable/disable learned CIDR approval for BGP Spoke Gateway. Valid values: true, false. Default value: false.
- enable
Monitor BooleanGateway Subnets - If set to true, the Monitor Gateway Subnets feature is enabled. Default value is false. Available in provider version R2.18+.
- enable
Preserve BooleanAs Path - Enable preserve as_path when advertising manual summary cidrs on BGP spoke gateway. Valid values: true, false. Default value: false. Available as of provider version R.2.22.1+
- enable
Private BooleanOob - Enable Private OOB feature. Only available for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- enable
Private BooleanVpc Default Route - Program default route in VPC private route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Skip BooleanPublic Route Table Update - Skip programming VPC public route table. Default: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Spot BooleanInstance - Enable spot instance. NOT supported for production deployment.
- enable
Vpc BooleanDns Server - Enable VPC DNS Server for Gateway. Currently only supported for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, Alibaba Cloud, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- fault
Domain String - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- filtered
Spoke StringVpc Routes - A list of comma separated CIDRs to be filtered from the spoke VPC route table. When configured, filtering CIDR(s) or it’s subnet will be deleted from VPC routing tables as well as from spoke gateway’s routing table. It applies to this spoke gateway only. Example: "10.2.0.0/116,10.3.0.0/16".
- gw
Name String - Name of the gateway which is going to be created.
- gw
Size String - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2", GCP: "n1-standard-1".
- ha
Availability StringDomain - HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Azure StringEip Name Resource Group - Name of public IP Address resource and its resource group in Azure to be assigned to the HA Spoke Gateway instance. Example: "IP_Name:Resource_Group_Name". Required if
ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - ha
Cloud StringInstance Id - Cloud instance ID of the HA spoke gateway.
- ha
Eip String - Public IP address that you want to assign to the HA peering instance. If no value is given, a new EIP will automatically be allocated. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- ha
Fault StringDomain - HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- ha
Gw StringName - Aviatrix spoke gateway unique name of HA spoke gateway.
- ha
Gw StringSize - HA Gateway Size. Mandatory if enabling HA.
- ha
Image StringVersion - The image version of the HA gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredha_software_version
. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - ha
Insane StringMode Az - AZ of subnet being created for Insane Mode Spoke HA Gateway. Required for AWS, AzureGov, AWSGov, AWS Top Secret and AWS Secret if
insane_mode
is enabled andha_subnet
is set. Example: AWS: "us-west-1a". - ha
Oob StringAvailability Zone - HA OOB availability zone. Required if enabling Private OOB and HA. Example: "us-west-1b".
- ha
Oob StringManagement Subnet - HA OOB management subnet. Required if enabling Private OOB and HA. Example: "11.0.0.48/28".
- ha
Private StringIp - Private IP address of HA spoke gateway.
- ha
Private StringMode Subnet Zone - Availability Zone of the HA subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov with HA. Available in Provider version R2.23+. - ha
Public StringIp - Public IP address of the HA Spoke Gateway.
- ha
Security StringGroup Id - HA security group used for the spoke gateway.
- ha
Software StringVersion - The software version of the HA gateway. If set, we will attempt to update the HA gateway to the specified version if current version is different. If left blank, the HA gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - ha
Subnet String - HA Subnet. Required if enabling HA for AWS, AWSGov, AWSChina, Azure, AzureGov, AzureChina, OCI, Alibaba Cloud, AWS Top Secret or AWS Secret gateways. Optional for GCP. Setting to empty/unsetting will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet. Example: "10.12.0.0/24"
- ha
Zone String - HA Zone. Required if enabling HA for GCP gateway. Optional for Azure. For GCP, setting to empty/unsetting will disable HA and setting to a valid zone will create an HA gateway in the zone. Example: "us-west1-c". For Azure, this is an optional parameter to place the HA gateway in a specific availability zone. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- image
Version String - The image version of the gateway. Use
aviatrix.getAviatrixGatewayImage
data source to programmatically retrieve this value for the desiredsoftware_version
. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrades can be managed with theaviatrix.AviatrixControllerConfig
resource. Type: String. Example: "hvm-cloudx-aws-022021". Available as of provider version R2.20.0. - included
Advertised StringSpoke Routes - A list of comma separated CIDRs to be advertised to on-prem as 'Included CIDR List'. When configured, it will replace all advertised routes from this VPC. Example: "10.4.0.0/116,10.5.0.0/16".
- insane
Mode Boolean - Enable Insane Mode for Spoke Gateway. Insane Mode gateway size must be at least c5 size (AWS, AWSGov, AWS China, AWS Top Secret and AWS Secret) or Standard_D3_v2 (Azure and AzureGov); for GCP only four size are supported: "n1-highcpu-4", "n1-highcpu-8", "n1-highcpu-16" and "n1-highcpu-32". If enabled, you must specify a valid /26 CIDR segment of the VPC to create a new subnet for AWS, Azure, AzureGov, AWSGov, AWS Top Secret and AWS Secret. Only available for AWS, GCP/OCI, Azure, AzureGov, AzureChina, AWSGov, AWS Top Secret and AWS Secret. Valid values: true, false. Default value: false.
- insane
Mode StringAz - AZ of subnet being created for Insane Mode Spoke Gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is enabled. Example: AWS: "us-west-1a". - learned
Cidrs StringApproval Mode - Learned CIDRs approval mode. Either "gateway" (approval on a per-gateway basis) or "connection" (approval on a per-connection basis). Only "gateway" is supported for BGP SPOKE Gateway. Default value: "gateway". Available as of provider version R2.21+.
- local
As StringNumber - Changes the Aviatrix Spoke Gateway ASN number before you setup Aviatrix Spoke Gateway connection configurations.
- manage
Transit BooleanGateway Attachment - Enable to manage spoke-to-Aviatrix transit gateway attachments using the aviatrix_spoke_gateway resource with the below
transit_gw
attribute. If this is set to false, attaching this spoke to transit gateways must be done using the aviatrix_spoke_transit_attachment resource. Valid values: true, false. Default value: true. Available in provider R2.17+. - monitor
Exclude List<String>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.18+.
- oob
Availability StringZone - OOB availability zone. Required if enabling Private OOB. Example: "us-west-1a".
- oob
Management StringSubnet - OOB management subnet. Required if enabling Private OOB. Example: "11.0.2.0/24".
- prepend
As List<String>Paths - List of AS numbers to populate BGP AS_PATH field when it advertises to VGW or peer devices.
- private
Ip String - Private IP address of the spoke gateway created.
- private
Mode StringLb Vpc Id - VPC ID of Private Mode load balancer. Required when Private Mode is enabled on the Controller. Available in provider version R2.23+.
- private
Mode StringSubnet Zone - Availability Zone of the subnet. Required when Private Mode is enabled on the Controller and
cloud_type
is AWS or AWSGov. Available in Provider version R2.23+. - public
Ip String - Public IP address of the Spoke Gateway created.
- rx
Queue StringSize - Gateway ethernet interface RX queue size. Once set, can't be deleted or disabled. Available for AWS as of provider version R2.22+.
- security
Group StringId - Security group used for the spoke gateway.
- single
Az BooleanHa - Set to true if this feature is desired. Valid values: true, false.
- single
Ip BooleanSnat - Specify whether to enable Source NAT feature in "single_ip" mode on the gateway or not. Please disable AWS NAT instance before enabling this feature. Currently only supports AWS(1) and Azure(8). Valid values: true, false.
- software
Version String - The software version of the gateway. If set, we will attempt to update the gateway to the specified version if current version is different. If left blank, the gateway upgrade can be managed with the
aviatrix.AviatrixControllerConfig
resource. Type: String. Example: "6.5.821". Available as of provider version R2.20.0. - spoke
Bgp List<String>Manual Advertise Cidrs - Intended CIDR list to be advertised to external BGP router. Empty list is not valid. Example: ["10.2.0.0/16", "10.4.0.0/16"].
- spot
Price String - Price for spot instance. NOT supported for production deployment.
- subnet String
- A VPC Network address range selected from one of the available network ranges. Example: "172.31.0.0/20". NOTE: If using
insane_mode
, please see notes here. - tag
Lists List<String> - (Optional) Instance tag of cloud provider. Only supported for AWS, Azure, AzureGov, AWSGov, AWSChina and AzureChina. Example: ["key1:value1", "key2:value2"].
- Map<String>
- Map of tags to assign to the gateway. Only available for AWS, Azure, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret gateways. Allowed characters vary by cloud type but always include: letters, spaces, and numbers. AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret allow the use of any character. Azure, AzureGov and AzureChina allows the following special characters: + - = . _ : @. Example: {"key1" = "value1", "key2" = "value2"}.
- transit
Gw String - Specify the Aviatrix transit gateways to attach this spoke gateway to. Format is a comma separated list of transit gateway names. For example: "transit-gw1,transit-gw2".
- tunnel
Detection NumberTime - The IPSec tunnel down detection time for the Spoke Gateway.
- vpc
Id String - VPC-ID/VNet-Name of cloud provider. Example: AWS/AWSGov/AWSChina: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project-id", Azure/AzureGov/AzureChina: "vnet_name:rg_name:resource_guid", OCI: "ocid1.vcn.oc1.iad.aaaaaaaaba3pv6wkcr4jqae5f44n2b2m2yt2j6rx32uzr4h25vqstifsfdsq".
- vpc
Reg String - Region of cloud provider. Example: AWS: "us-east-1", GCP: "us-west2-a", Azure: "East US 2", OCI: "us-ashburn-1", AzureGov: "USGov Arizona", AWSGov: "us-gov-west-1, AWSChina: "cn-north-1", AzureChina: "China North", AWS Top Secret: "us-iso-east-1", AWS Secret: "us-isob-east-1".
- zone String
- Availability Zone. Only available for cloud_type = 8 (Azure). Must be in the form 'az-n', for example, 'az-2'. Available in provider version R2.17+.
Package Details
- Repository
- aviatrix astipkovits/pulumi-aviatrix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aviatrix
Terraform Provider.