aviatrix.AviatrixGateway
Explore with Pulumi AI
Import
gateway can be imported using the gw_name
, e.g.
$ pulumi import aviatrix:index/aviatrixGateway:AviatrixGateway test gw_name
Create AviatrixGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixGateway(name: string, args: AviatrixGatewayArgs, opts?: CustomResourceOptions);
@overload
def AviatrixGateway(resource_name: str,
args: AviatrixGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixGateway(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,
ldap_server: Optional[str] = None,
duo_api_hostname: Optional[str] = None,
availability_domain: Optional[str] = None,
azure_eip_name_resource_group: Optional[str] = None,
customer_managed_keys: Optional[str] = None,
name_servers: Optional[str] = None,
duo_integration_key: Optional[str] = None,
duo_push_mode: Optional[str] = None,
duo_secret_key: Optional[str] = None,
eip: Optional[str] = None,
okta_token: Optional[str] = None,
enable_designated_gateway: Optional[bool] = None,
enable_elb: Optional[bool] = None,
enable_encrypt_volume: Optional[bool] = None,
enable_jumbo_frame: Optional[bool] = None,
enable_ldap: Optional[bool] = None,
enable_monitor_gateway_subnets: Optional[bool] = None,
enable_public_subnet_filtering: Optional[bool] = None,
enable_spot_instance: Optional[bool] = None,
enable_vpc_dns_server: Optional[bool] = None,
enable_vpn_nat: Optional[bool] = None,
fault_domain: Optional[str] = None,
fqdn_lan_cidr: Optional[str] = None,
fqdn_lan_vpc_id: Optional[str] = None,
idle_timeout: Optional[int] = None,
image_version: Optional[str] = None,
insane_mode: Optional[bool] = None,
insane_mode_az: Optional[str] = None,
ldap_base_dn: Optional[str] = None,
monitor_exclude_lists: Optional[Sequence[str]] = None,
ldap_password: Optional[str] = None,
additional_cidrs_designated_gateway: Optional[str] = None,
ldap_username_attribute: Optional[str] = None,
max_vpn_conn: Optional[str] = None,
ldap_bind_dn: Optional[str] = None,
allocate_new_eip: Optional[bool] = None,
elb_name: Optional[str] = None,
okta_url: Optional[str] = None,
okta_username_suffix: Optional[str] = None,
otp_mode: Optional[str] = None,
peering_ha_availability_domain: Optional[str] = None,
peering_ha_azure_eip_name_resource_group: Optional[str] = None,
peering_ha_eip: Optional[str] = None,
peering_ha_fault_domain: Optional[str] = None,
peering_ha_gw_size: Optional[str] = None,
peering_ha_image_version: Optional[str] = None,
peering_ha_insane_mode_az: Optional[str] = None,
peering_ha_software_version: Optional[str] = None,
peering_ha_subnet: Optional[str] = None,
peering_ha_zone: Optional[str] = None,
public_subnet_filtering_guard_duty_enforced: Optional[bool] = None,
public_subnet_filtering_ha_route_tables: Optional[Sequence[str]] = None,
public_subnet_filtering_route_tables: Optional[Sequence[str]] = None,
renegotiation_interval: Optional[int] = None,
rx_queue_size: Optional[str] = None,
saml_enabled: Optional[bool] = None,
search_domains: Optional[str] = None,
single_az_ha: Optional[bool] = None,
single_ip_snat: Optional[bool] = None,
software_version: Optional[str] = None,
split_tunnel: Optional[bool] = None,
spot_price: Optional[str] = None,
tag_lists: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
additional_cidrs: Optional[str] = None,
tunnel_detection_time: Optional[int] = None,
vpn_access: Optional[bool] = None,
vpn_cidr: Optional[str] = None,
vpn_protocol: Optional[str] = None,
zone: Optional[str] = None)
func NewAviatrixGateway(ctx *Context, name string, args AviatrixGatewayArgs, opts ...ResourceOption) (*AviatrixGateway, error)
public AviatrixGateway(string name, AviatrixGatewayArgs args, CustomResourceOptions? opts = null)
public AviatrixGateway(String name, AviatrixGatewayArgs args)
public AviatrixGateway(String name, AviatrixGatewayArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixGateway
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 AviatrixGatewayArgs
- 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 AviatrixGatewayArgs
- 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 AviatrixGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixGatewayArgs
- 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 aviatrixGatewayResource = new Aviatrix.AviatrixGateway("aviatrixGatewayResource", new()
{
AccountName = "string",
CloudType = 0,
GwName = "string",
GwSize = "string",
Subnet = "string",
VpcId = "string",
VpcReg = "string",
LdapServer = "string",
DuoApiHostname = "string",
AvailabilityDomain = "string",
AzureEipNameResourceGroup = "string",
CustomerManagedKeys = "string",
NameServers = "string",
DuoIntegrationKey = "string",
DuoPushMode = "string",
DuoSecretKey = "string",
Eip = "string",
OktaToken = "string",
EnableDesignatedGateway = false,
EnableElb = false,
EnableEncryptVolume = false,
EnableJumboFrame = false,
EnableLdap = false,
EnableMonitorGatewaySubnets = false,
EnablePublicSubnetFiltering = false,
EnableSpotInstance = false,
EnableVpcDnsServer = false,
EnableVpnNat = false,
FaultDomain = "string",
FqdnLanCidr = "string",
FqdnLanVpcId = "string",
IdleTimeout = 0,
ImageVersion = "string",
InsaneMode = false,
InsaneModeAz = "string",
LdapBaseDn = "string",
MonitorExcludeLists = new[]
{
"string",
},
LdapPassword = "string",
AdditionalCidrsDesignatedGateway = "string",
LdapUsernameAttribute = "string",
MaxVpnConn = "string",
LdapBindDn = "string",
AllocateNewEip = false,
ElbName = "string",
OktaUrl = "string",
OktaUsernameSuffix = "string",
OtpMode = "string",
PeeringHaAvailabilityDomain = "string",
PeeringHaAzureEipNameResourceGroup = "string",
PeeringHaEip = "string",
PeeringHaFaultDomain = "string",
PeeringHaGwSize = "string",
PeeringHaImageVersion = "string",
PeeringHaInsaneModeAz = "string",
PeeringHaSoftwareVersion = "string",
PeeringHaSubnet = "string",
PeeringHaZone = "string",
PublicSubnetFilteringGuardDutyEnforced = false,
PublicSubnetFilteringHaRouteTables = new[]
{
"string",
},
PublicSubnetFilteringRouteTables = new[]
{
"string",
},
RenegotiationInterval = 0,
RxQueueSize = "string",
SamlEnabled = false,
SearchDomains = "string",
SingleAzHa = false,
SingleIpSnat = false,
SoftwareVersion = "string",
SplitTunnel = false,
SpotPrice = "string",
Tags =
{
{ "string", "string" },
},
AdditionalCidrs = "string",
TunnelDetectionTime = 0,
VpnAccess = false,
VpnCidr = "string",
VpnProtocol = "string",
Zone = "string",
});
example, err := aviatrix.NewAviatrixGateway(ctx, "aviatrixGatewayResource", &aviatrix.AviatrixGatewayArgs{
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"),
LdapServer: pulumi.String("string"),
DuoApiHostname: pulumi.String("string"),
AvailabilityDomain: pulumi.String("string"),
AzureEipNameResourceGroup: pulumi.String("string"),
CustomerManagedKeys: pulumi.String("string"),
NameServers: pulumi.String("string"),
DuoIntegrationKey: pulumi.String("string"),
DuoPushMode: pulumi.String("string"),
DuoSecretKey: pulumi.String("string"),
Eip: pulumi.String("string"),
OktaToken: pulumi.String("string"),
EnableDesignatedGateway: pulumi.Bool(false),
EnableElb: pulumi.Bool(false),
EnableEncryptVolume: pulumi.Bool(false),
EnableJumboFrame: pulumi.Bool(false),
EnableLdap: pulumi.Bool(false),
EnableMonitorGatewaySubnets: pulumi.Bool(false),
EnablePublicSubnetFiltering: pulumi.Bool(false),
EnableSpotInstance: pulumi.Bool(false),
EnableVpcDnsServer: pulumi.Bool(false),
EnableVpnNat: pulumi.Bool(false),
FaultDomain: pulumi.String("string"),
FqdnLanCidr: pulumi.String("string"),
FqdnLanVpcId: pulumi.String("string"),
IdleTimeout: pulumi.Int(0),
ImageVersion: pulumi.String("string"),
InsaneMode: pulumi.Bool(false),
InsaneModeAz: pulumi.String("string"),
LdapBaseDn: pulumi.String("string"),
MonitorExcludeLists: pulumi.StringArray{
pulumi.String("string"),
},
LdapPassword: pulumi.String("string"),
AdditionalCidrsDesignatedGateway: pulumi.String("string"),
LdapUsernameAttribute: pulumi.String("string"),
MaxVpnConn: pulumi.String("string"),
LdapBindDn: pulumi.String("string"),
AllocateNewEip: pulumi.Bool(false),
ElbName: pulumi.String("string"),
OktaUrl: pulumi.String("string"),
OktaUsernameSuffix: pulumi.String("string"),
OtpMode: pulumi.String("string"),
PeeringHaAvailabilityDomain: pulumi.String("string"),
PeeringHaAzureEipNameResourceGroup: pulumi.String("string"),
PeeringHaEip: pulumi.String("string"),
PeeringHaFaultDomain: pulumi.String("string"),
PeeringHaGwSize: pulumi.String("string"),
PeeringHaImageVersion: pulumi.String("string"),
PeeringHaInsaneModeAz: pulumi.String("string"),
PeeringHaSoftwareVersion: pulumi.String("string"),
PeeringHaSubnet: pulumi.String("string"),
PeeringHaZone: pulumi.String("string"),
PublicSubnetFilteringGuardDutyEnforced: pulumi.Bool(false),
PublicSubnetFilteringHaRouteTables: pulumi.StringArray{
pulumi.String("string"),
},
PublicSubnetFilteringRouteTables: pulumi.StringArray{
pulumi.String("string"),
},
RenegotiationInterval: pulumi.Int(0),
RxQueueSize: pulumi.String("string"),
SamlEnabled: pulumi.Bool(false),
SearchDomains: pulumi.String("string"),
SingleAzHa: pulumi.Bool(false),
SingleIpSnat: pulumi.Bool(false),
SoftwareVersion: pulumi.String("string"),
SplitTunnel: pulumi.Bool(false),
SpotPrice: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
AdditionalCidrs: pulumi.String("string"),
TunnelDetectionTime: pulumi.Int(0),
VpnAccess: pulumi.Bool(false),
VpnCidr: pulumi.String("string"),
VpnProtocol: pulumi.String("string"),
Zone: pulumi.String("string"),
})
var aviatrixGatewayResource = new AviatrixGateway("aviatrixGatewayResource", AviatrixGatewayArgs.builder()
.accountName("string")
.cloudType(0)
.gwName("string")
.gwSize("string")
.subnet("string")
.vpcId("string")
.vpcReg("string")
.ldapServer("string")
.duoApiHostname("string")
.availabilityDomain("string")
.azureEipNameResourceGroup("string")
.customerManagedKeys("string")
.nameServers("string")
.duoIntegrationKey("string")
.duoPushMode("string")
.duoSecretKey("string")
.eip("string")
.oktaToken("string")
.enableDesignatedGateway(false)
.enableElb(false)
.enableEncryptVolume(false)
.enableJumboFrame(false)
.enableLdap(false)
.enableMonitorGatewaySubnets(false)
.enablePublicSubnetFiltering(false)
.enableSpotInstance(false)
.enableVpcDnsServer(false)
.enableVpnNat(false)
.faultDomain("string")
.fqdnLanCidr("string")
.fqdnLanVpcId("string")
.idleTimeout(0)
.imageVersion("string")
.insaneMode(false)
.insaneModeAz("string")
.ldapBaseDn("string")
.monitorExcludeLists("string")
.ldapPassword("string")
.additionalCidrsDesignatedGateway("string")
.ldapUsernameAttribute("string")
.maxVpnConn("string")
.ldapBindDn("string")
.allocateNewEip(false)
.elbName("string")
.oktaUrl("string")
.oktaUsernameSuffix("string")
.otpMode("string")
.peeringHaAvailabilityDomain("string")
.peeringHaAzureEipNameResourceGroup("string")
.peeringHaEip("string")
.peeringHaFaultDomain("string")
.peeringHaGwSize("string")
.peeringHaImageVersion("string")
.peeringHaInsaneModeAz("string")
.peeringHaSoftwareVersion("string")
.peeringHaSubnet("string")
.peeringHaZone("string")
.publicSubnetFilteringGuardDutyEnforced(false)
.publicSubnetFilteringHaRouteTables("string")
.publicSubnetFilteringRouteTables("string")
.renegotiationInterval(0)
.rxQueueSize("string")
.samlEnabled(false)
.searchDomains("string")
.singleAzHa(false)
.singleIpSnat(false)
.softwareVersion("string")
.splitTunnel(false)
.spotPrice("string")
.tags(Map.of("string", "string"))
.additionalCidrs("string")
.tunnelDetectionTime(0)
.vpnAccess(false)
.vpnCidr("string")
.vpnProtocol("string")
.zone("string")
.build());
aviatrix_gateway_resource = aviatrix.AviatrixGateway("aviatrixGatewayResource",
account_name="string",
cloud_type=0,
gw_name="string",
gw_size="string",
subnet="string",
vpc_id="string",
vpc_reg="string",
ldap_server="string",
duo_api_hostname="string",
availability_domain="string",
azure_eip_name_resource_group="string",
customer_managed_keys="string",
name_servers="string",
duo_integration_key="string",
duo_push_mode="string",
duo_secret_key="string",
eip="string",
okta_token="string",
enable_designated_gateway=False,
enable_elb=False,
enable_encrypt_volume=False,
enable_jumbo_frame=False,
enable_ldap=False,
enable_monitor_gateway_subnets=False,
enable_public_subnet_filtering=False,
enable_spot_instance=False,
enable_vpc_dns_server=False,
enable_vpn_nat=False,
fault_domain="string",
fqdn_lan_cidr="string",
fqdn_lan_vpc_id="string",
idle_timeout=0,
image_version="string",
insane_mode=False,
insane_mode_az="string",
ldap_base_dn="string",
monitor_exclude_lists=["string"],
ldap_password="string",
additional_cidrs_designated_gateway="string",
ldap_username_attribute="string",
max_vpn_conn="string",
ldap_bind_dn="string",
allocate_new_eip=False,
elb_name="string",
okta_url="string",
okta_username_suffix="string",
otp_mode="string",
peering_ha_availability_domain="string",
peering_ha_azure_eip_name_resource_group="string",
peering_ha_eip="string",
peering_ha_fault_domain="string",
peering_ha_gw_size="string",
peering_ha_image_version="string",
peering_ha_insane_mode_az="string",
peering_ha_software_version="string",
peering_ha_subnet="string",
peering_ha_zone="string",
public_subnet_filtering_guard_duty_enforced=False,
public_subnet_filtering_ha_route_tables=["string"],
public_subnet_filtering_route_tables=["string"],
renegotiation_interval=0,
rx_queue_size="string",
saml_enabled=False,
search_domains="string",
single_az_ha=False,
single_ip_snat=False,
software_version="string",
split_tunnel=False,
spot_price="string",
tags={
"string": "string",
},
additional_cidrs="string",
tunnel_detection_time=0,
vpn_access=False,
vpn_cidr="string",
vpn_protocol="string",
zone="string")
const aviatrixGatewayResource = new aviatrix.AviatrixGateway("aviatrixGatewayResource", {
accountName: "string",
cloudType: 0,
gwName: "string",
gwSize: "string",
subnet: "string",
vpcId: "string",
vpcReg: "string",
ldapServer: "string",
duoApiHostname: "string",
availabilityDomain: "string",
azureEipNameResourceGroup: "string",
customerManagedKeys: "string",
nameServers: "string",
duoIntegrationKey: "string",
duoPushMode: "string",
duoSecretKey: "string",
eip: "string",
oktaToken: "string",
enableDesignatedGateway: false,
enableElb: false,
enableEncryptVolume: false,
enableJumboFrame: false,
enableLdap: false,
enableMonitorGatewaySubnets: false,
enablePublicSubnetFiltering: false,
enableSpotInstance: false,
enableVpcDnsServer: false,
enableVpnNat: false,
faultDomain: "string",
fqdnLanCidr: "string",
fqdnLanVpcId: "string",
idleTimeout: 0,
imageVersion: "string",
insaneMode: false,
insaneModeAz: "string",
ldapBaseDn: "string",
monitorExcludeLists: ["string"],
ldapPassword: "string",
additionalCidrsDesignatedGateway: "string",
ldapUsernameAttribute: "string",
maxVpnConn: "string",
ldapBindDn: "string",
allocateNewEip: false,
elbName: "string",
oktaUrl: "string",
oktaUsernameSuffix: "string",
otpMode: "string",
peeringHaAvailabilityDomain: "string",
peeringHaAzureEipNameResourceGroup: "string",
peeringHaEip: "string",
peeringHaFaultDomain: "string",
peeringHaGwSize: "string",
peeringHaImageVersion: "string",
peeringHaInsaneModeAz: "string",
peeringHaSoftwareVersion: "string",
peeringHaSubnet: "string",
peeringHaZone: "string",
publicSubnetFilteringGuardDutyEnforced: false,
publicSubnetFilteringHaRouteTables: ["string"],
publicSubnetFilteringRouteTables: ["string"],
renegotiationInterval: 0,
rxQueueSize: "string",
samlEnabled: false,
searchDomains: "string",
singleAzHa: false,
singleIpSnat: false,
softwareVersion: "string",
splitTunnel: false,
spotPrice: "string",
tags: {
string: "string",
},
additionalCidrs: "string",
tunnelDetectionTime: 0,
vpnAccess: false,
vpnCidr: "string",
vpnProtocol: "string",
zone: "string",
});
type: aviatrix:AviatrixGateway
properties:
accountName: string
additionalCidrs: string
additionalCidrsDesignatedGateway: string
allocateNewEip: false
availabilityDomain: string
azureEipNameResourceGroup: string
cloudType: 0
customerManagedKeys: string
duoApiHostname: string
duoIntegrationKey: string
duoPushMode: string
duoSecretKey: string
eip: string
elbName: string
enableDesignatedGateway: false
enableElb: false
enableEncryptVolume: false
enableJumboFrame: false
enableLdap: false
enableMonitorGatewaySubnets: false
enablePublicSubnetFiltering: false
enableSpotInstance: false
enableVpcDnsServer: false
enableVpnNat: false
faultDomain: string
fqdnLanCidr: string
fqdnLanVpcId: string
gwName: string
gwSize: string
idleTimeout: 0
imageVersion: string
insaneMode: false
insaneModeAz: string
ldapBaseDn: string
ldapBindDn: string
ldapPassword: string
ldapServer: string
ldapUsernameAttribute: string
maxVpnConn: string
monitorExcludeLists:
- string
nameServers: string
oktaToken: string
oktaUrl: string
oktaUsernameSuffix: string
otpMode: string
peeringHaAvailabilityDomain: string
peeringHaAzureEipNameResourceGroup: string
peeringHaEip: string
peeringHaFaultDomain: string
peeringHaGwSize: string
peeringHaImageVersion: string
peeringHaInsaneModeAz: string
peeringHaSoftwareVersion: string
peeringHaSubnet: string
peeringHaZone: string
publicSubnetFilteringGuardDutyEnforced: false
publicSubnetFilteringHaRouteTables:
- string
publicSubnetFilteringRouteTables:
- string
renegotiationInterval: 0
rxQueueSize: string
samlEnabled: false
searchDomains: string
singleAzHa: false
singleIpSnat: false
softwareVersion: string
splitTunnel: false
spotPrice: string
subnet: string
tags:
string: string
tunnelDetectionTime: 0
vpcId: string
vpcReg: string
vpnAccess: false
vpnCidr: string
vpnProtocol: string
zone: string
AviatrixGateway 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 AviatrixGateway resource accepts the following input properties:
- Account
Name string - Account name. This account will be used to launch Aviatrix gateway.
- Cloud
Type int - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- Gw
Name string - Name of the Aviatrix gateway to be created.
- Gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- 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 - VPC region the gateway will be created in. 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".
- Additional
Cidrs string - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- Additional
Cidrs stringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- Allocate
New boolEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Customer
Managed stringKeys - Customer-managed key ID.
- Duo
Api stringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - Duo
Integration stringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - Duo
Push stringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - Duo
Secret stringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - Eip string
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - Elb
Name string - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- Enable
Designated boolGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- Enable
Elb bool - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- Enable
Encrypt boolVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Enable jumbo frames for this gateway. Default value is true.
- Enable
Ldap bool - Enable/disable LDAP. 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.17.1+.
- Enable
Public boolSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- Enable
Vpn boolNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- Fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Fqdn
Lan stringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - Fqdn
Lan stringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- Idle
Timeout int - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - Insane
Mode bool - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- Insane
Mode stringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - Ldap
Base stringDn - LDAP base DN. Required if
enable_ldap
is true. - Ldap
Bind stringDn - LDAP bind DN. Required if
enable_ldap
is true. - Ldap
Password string - LDAP password. Required if
enable_ldap
is true. - Ldap
Server string - LDAP server address. Required if
enable_ldap
is true. - Ldap
Username stringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - Max
Vpn stringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - Monitor
Exclude List<string>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- Name
Servers string - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- Okta
Token string - Token for Okta auth mode. Required if
otp_mode
is "3". - Okta
Url string - URL for Okta auth mode. Required if
otp_mode
is "3". - Okta
Username stringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- Otp
Mode string - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- Peering
Ha stringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Peering
Ha stringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Peering
Ha stringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- Peering
Ha stringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Peering
Ha stringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- Peering
Ha stringImage Version - 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. - Peering
Ha stringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - Peering
Ha stringSoftware Version - 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. - Peering
Ha stringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- Peering
Ha stringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- Public
Subnet boolFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - Public
Subnet List<string>Filtering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - Public
Subnet List<string>Filtering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - Renegotiation
Interval int - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- Saml
Enabled bool - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- Search
Domains string - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- Single
Az boolHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- Single
Ip boolSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - Split
Tunnel bool - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- Spot
Price string - Price for spot instance. NOT supported for production deployment.
- Tag
Lists List<string> - (Optional) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- Dictionary<string, string>
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- Tunnel
Detection intTime - The IPSec tunnel down detection time for the Gateway.
- Vpn
Access bool - Enable user access through VPN to this gateway. Valid values: true, false.
- Vpn
Cidr string - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - Vpn
Protocol string - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - Zone string
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- Account
Name string - Account name. This account will be used to launch Aviatrix gateway.
- Cloud
Type int - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- Gw
Name string - Name of the Aviatrix gateway to be created.
- Gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- 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 - VPC region the gateway will be created in. 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".
- Additional
Cidrs string - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- Additional
Cidrs stringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- Allocate
New boolEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Customer
Managed stringKeys - Customer-managed key ID.
- Duo
Api stringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - Duo
Integration stringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - Duo
Push stringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - Duo
Secret stringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - Eip string
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - Elb
Name string - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- Enable
Designated boolGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- Enable
Elb bool - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- Enable
Encrypt boolVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Enable jumbo frames for this gateway. Default value is true.
- Enable
Ldap bool - Enable/disable LDAP. 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.17.1+.
- Enable
Public boolSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- Enable
Vpn boolNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- Fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Fqdn
Lan stringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - Fqdn
Lan stringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- Idle
Timeout int - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - Insane
Mode bool - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- Insane
Mode stringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - Ldap
Base stringDn - LDAP base DN. Required if
enable_ldap
is true. - Ldap
Bind stringDn - LDAP bind DN. Required if
enable_ldap
is true. - Ldap
Password string - LDAP password. Required if
enable_ldap
is true. - Ldap
Server string - LDAP server address. Required if
enable_ldap
is true. - Ldap
Username stringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - Max
Vpn stringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - Monitor
Exclude []stringLists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- Name
Servers string - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- Okta
Token string - Token for Okta auth mode. Required if
otp_mode
is "3". - Okta
Url string - URL for Okta auth mode. Required if
otp_mode
is "3". - Okta
Username stringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- Otp
Mode string - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- Peering
Ha stringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Peering
Ha stringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Peering
Ha stringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- Peering
Ha stringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Peering
Ha stringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- Peering
Ha stringImage Version - 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. - Peering
Ha stringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - Peering
Ha stringSoftware Version - 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. - Peering
Ha stringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- Peering
Ha stringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- Public
Subnet boolFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - Public
Subnet []stringFiltering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - Public
Subnet []stringFiltering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - Renegotiation
Interval int - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- Saml
Enabled bool - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- Search
Domains string - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- Single
Az boolHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- Single
Ip boolSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - Split
Tunnel bool - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- Spot
Price string - Price for spot instance. NOT supported for production deployment.
- Tag
Lists []string - (Optional) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- map[string]string
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- Tunnel
Detection intTime - The IPSec tunnel down detection time for the Gateway.
- Vpn
Access bool - Enable user access through VPN to this gateway. Valid values: true, false.
- Vpn
Cidr string - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - Vpn
Protocol string - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - Zone string
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- account
Name String - Account name. This account will be used to launch Aviatrix gateway.
- cloud
Type Integer - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- gw
Name String - Name of the Aviatrix gateway to be created.
- gw
Size String - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- 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 - VPC region the gateway will be created in. 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".
- additional
Cidrs String - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- additional
Cidrs StringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- allocate
New BooleanEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - customer
Managed StringKeys - Customer-managed key ID.
- duo
Api StringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - duo
Integration StringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - duo
Push StringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - duo
Secret StringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - eip String
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - elb
Name String - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- enable
Designated BooleanGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- enable
Elb Boolean - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- enable
Encrypt BooleanVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Enable jumbo frames for this gateway. Default value is true.
- enable
Ldap Boolean - Enable/disable LDAP. 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.17.1+.
- enable
Public BooleanSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- enable
Vpn BooleanNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- fault
Domain String - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- fqdn
Lan StringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - fqdn
Lan StringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- idle
Timeout Integer - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - insane
Mode Boolean - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- insane
Mode StringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - ldap
Base StringDn - LDAP base DN. Required if
enable_ldap
is true. - ldap
Bind StringDn - LDAP bind DN. Required if
enable_ldap
is true. - ldap
Password String - LDAP password. Required if
enable_ldap
is true. - ldap
Server String - LDAP server address. Required if
enable_ldap
is true. - ldap
Username StringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - max
Vpn StringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - monitor
Exclude List<String>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- name
Servers String - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- okta
Token String - Token for Okta auth mode. Required if
otp_mode
is "3". - okta
Url String - URL for Okta auth mode. Required if
otp_mode
is "3". - okta
Username StringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- otp
Mode String - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- peering
Ha StringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha StringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - peering
Ha StringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- peering
Ha StringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha StringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- peering
Ha StringImage Version - 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. - peering
Ha StringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - peering
Ha StringSoftware Version - 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. - peering
Ha StringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- peering
Ha StringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- public
Subnet BooleanFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - public
Subnet List<String>Filtering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - public
Subnet List<String>Filtering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - renegotiation
Interval Integer - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- saml
Enabled Boolean - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- search
Domains String - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- single
Az BooleanHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- single
Ip BooleanSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - split
Tunnel Boolean - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- spot
Price String - Price for spot instance. NOT supported for production deployment.
- tag
Lists List<String> - (Optional) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- Map<String,String>
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- tunnel
Detection IntegerTime - The IPSec tunnel down detection time for the Gateway.
- vpn
Access Boolean - Enable user access through VPN to this gateway. Valid values: true, false.
- vpn
Cidr String - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - vpn
Protocol String - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - zone String
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- account
Name string - Account name. This account will be used to launch Aviatrix gateway.
- cloud
Type number - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- gw
Name string - Name of the Aviatrix gateway to be created.
- gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- 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 - VPC region the gateway will be created in. 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".
- additional
Cidrs string - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- additional
Cidrs stringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- allocate
New booleanEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - customer
Managed stringKeys - Customer-managed key ID.
- duo
Api stringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - duo
Integration stringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - duo
Push stringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - duo
Secret stringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - eip string
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - elb
Name string - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- enable
Designated booleanGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- enable
Elb boolean - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- enable
Encrypt booleanVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- enable
Jumbo booleanFrame - Enable jumbo frames for this gateway. Default value is true.
- enable
Ldap boolean - Enable/disable LDAP. 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.17.1+.
- enable
Public booleanSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- enable
Vpn booleanNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- fqdn
Lan stringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - fqdn
Lan stringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- idle
Timeout number - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - insane
Mode boolean - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- insane
Mode stringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - ldap
Base stringDn - LDAP base DN. Required if
enable_ldap
is true. - ldap
Bind stringDn - LDAP bind DN. Required if
enable_ldap
is true. - ldap
Password string - LDAP password. Required if
enable_ldap
is true. - ldap
Server string - LDAP server address. Required if
enable_ldap
is true. - ldap
Username stringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - max
Vpn stringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - monitor
Exclude string[]Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- name
Servers string - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- okta
Token string - Token for Okta auth mode. Required if
otp_mode
is "3". - okta
Url string - URL for Okta auth mode. Required if
otp_mode
is "3". - okta
Username stringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- otp
Mode string - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- peering
Ha stringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha stringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - peering
Ha stringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- peering
Ha stringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha stringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- peering
Ha stringImage Version - 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. - peering
Ha stringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - peering
Ha stringSoftware Version - 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. - peering
Ha stringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- peering
Ha stringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- public
Subnet booleanFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - public
Subnet string[]Filtering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - public
Subnet string[]Filtering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - renegotiation
Interval number - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- saml
Enabled boolean - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- search
Domains string - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- single
Az booleanHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- single
Ip booleanSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - split
Tunnel boolean - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- spot
Price string - Price for spot instance. NOT supported for production deployment.
- tag
Lists string[] - (Optional) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- {[key: string]: string}
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- tunnel
Detection numberTime - The IPSec tunnel down detection time for the Gateway.
- vpn
Access boolean - Enable user access through VPN to this gateway. Valid values: true, false.
- vpn
Cidr string - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - vpn
Protocol string - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - zone string
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- account_
name str - Account name. This account will be used to launch Aviatrix gateway.
- cloud_
type int - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- gw_
name str - Name of the Aviatrix gateway to be created.
- gw_
size str - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- 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 - VPC region the gateway will be created in. 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".
- additional_
cidrs str - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- additional_
cidrs_ strdesignated_ gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- allocate_
new_ booleip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - customer_
managed_ strkeys - Customer-managed key ID.
- duo_
api_ strhostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - duo_
integration_ strkey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - duo_
push_ strmode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - duo_
secret_ strkey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - eip str
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - elb_
name str - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- enable_
designated_ boolgateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- enable_
elb bool - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- enable_
encrypt_ boolvolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- enable_
jumbo_ boolframe - Enable jumbo frames for this gateway. Default value is true.
- enable_
ldap bool - Enable/disable LDAP. 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.17.1+.
- enable_
public_ boolsubnet_ filtering - Create a Public Subnet Filtering gateway.
- 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.
- enable_
vpn_ boolnat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- fault_
domain str - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- fqdn_
lan_ strcidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - fqdn_
lan_ strvpc_ id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- idle_
timeout int - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - insane_
mode bool - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- insane_
mode_ straz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - ldap_
base_ strdn - LDAP base DN. Required if
enable_ldap
is true. - ldap_
bind_ strdn - LDAP bind DN. Required if
enable_ldap
is true. - ldap_
password str - LDAP password. Required if
enable_ldap
is true. - ldap_
server str - LDAP server address. Required if
enable_ldap
is true. - ldap_
username_ strattribute - LDAP user attribute. Required if
enable_ldap
is true. - max_
vpn_ strconn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - monitor_
exclude_ Sequence[str]lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- name_
servers str - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- okta_
token str - Token for Okta auth mode. Required if
otp_mode
is "3". - okta_
url str - URL for Okta auth mode. Required if
otp_mode
is "3". - okta_
username_ strsuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- otp_
mode str - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- peering_
ha_ stravailability_ domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering_
ha_ strazure_ eip_ name_ resource_ group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - peering_
ha_ streip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- peering_
ha_ strfault_ domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering_
ha_ strgw_ size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- peering_
ha_ strimage_ version - 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. - peering_
ha_ strinsane_ mode_ az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - peering_
ha_ strsoftware_ version - 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. - peering_
ha_ strsubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- peering_
ha_ strzone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- public_
subnet_ boolfiltering_ guard_ duty_ enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - public_
subnet_ Sequence[str]filtering_ ha_ route_ tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - public_
subnet_ Sequence[str]filtering_ route_ tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - renegotiation_
interval int - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- saml_
enabled bool - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- search_
domains str - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- single_
az_ boolha - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- single_
ip_ boolsnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - split_
tunnel bool - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- spot_
price str - Price for spot instance. NOT supported for production deployment.
- tag_
lists Sequence[str] - (Optional) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- Mapping[str, str]
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- tunnel_
detection_ inttime - The IPSec tunnel down detection time for the Gateway.
- vpn_
access bool - Enable user access through VPN to this gateway. Valid values: true, false.
- vpn_
cidr str - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - vpn_
protocol str - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - zone str
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- account
Name String - Account name. This account will be used to launch Aviatrix gateway.
- cloud
Type Number - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- gw
Name String - Name of the Aviatrix gateway to be created.
- gw
Size String - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- 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 - VPC region the gateway will be created in. 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".
- additional
Cidrs String - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- additional
Cidrs StringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- allocate
New BooleanEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - customer
Managed StringKeys - Customer-managed key ID.
- duo
Api StringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - duo
Integration StringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - duo
Push StringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - duo
Secret StringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - eip String
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - elb
Name String - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- enable
Designated BooleanGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- enable
Elb Boolean - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- enable
Encrypt BooleanVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Enable jumbo frames for this gateway. Default value is true.
- enable
Ldap Boolean - Enable/disable LDAP. 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.17.1+.
- enable
Public BooleanSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- enable
Vpn BooleanNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- fault
Domain String - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- fqdn
Lan StringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - fqdn
Lan StringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- idle
Timeout Number - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - insane
Mode Boolean - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- insane
Mode StringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - ldap
Base StringDn - LDAP base DN. Required if
enable_ldap
is true. - ldap
Bind StringDn - LDAP bind DN. Required if
enable_ldap
is true. - ldap
Password String - LDAP password. Required if
enable_ldap
is true. - ldap
Server String - LDAP server address. Required if
enable_ldap
is true. - ldap
Username StringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - max
Vpn StringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - monitor
Exclude List<String>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- name
Servers String - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- okta
Token String - Token for Okta auth mode. Required if
otp_mode
is "3". - okta
Url String - URL for Okta auth mode. Required if
otp_mode
is "3". - okta
Username StringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- otp
Mode String - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- peering
Ha StringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha StringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - peering
Ha StringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- peering
Ha StringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha StringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- peering
Ha StringImage Version - 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. - peering
Ha StringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - peering
Ha StringSoftware Version - 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. - peering
Ha StringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- peering
Ha StringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- public
Subnet BooleanFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - public
Subnet List<String>Filtering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - public
Subnet List<String>Filtering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - renegotiation
Interval Number - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- saml
Enabled Boolean - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- search
Domains String - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- single
Az BooleanHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- single
Ip BooleanSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - split
Tunnel Boolean - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- spot
Price String - Price for spot instance. NOT supported for production deployment.
- tag
Lists List<String> - (Optional) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- Map<String>
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- tunnel
Detection NumberTime - The IPSec tunnel down detection time for the Gateway.
- vpn
Access Boolean - Enable user access through VPN to this gateway. Valid values: true, false.
- vpn
Cidr String - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - vpn
Protocol String - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - zone String
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixGateway resource produces the following output properties:
- Cloud
Instance stringId - Cloud instance ID of the gateway.
- Elb
Dns stringName - ELB DNS name.
- Fqdn
Lan stringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- Id string
- The provider-assigned unique ID for this managed resource.
- Peering
Ha stringCloud Instance Id - Cloud instance ID of the HA gateway.
- Peering
Ha stringGw Name - Aviatrix gateway unique name of HA gateway.
- Peering
Ha stringPrivate Ip - Private IP address of HA gateway.
- Peering
Ha stringSecurity Group Id - HA security group used for the gateway.
- Private
Ip string - Private IP address of the gateway created.
- Public
Dns stringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- Security
Group stringId - Security group used for the gateway.
- Cloud
Instance stringId - Cloud instance ID of the gateway.
- Elb
Dns stringName - ELB DNS name.
- Fqdn
Lan stringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- Id string
- The provider-assigned unique ID for this managed resource.
- Peering
Ha stringCloud Instance Id - Cloud instance ID of the HA gateway.
- Peering
Ha stringGw Name - Aviatrix gateway unique name of HA gateway.
- Peering
Ha stringPrivate Ip - Private IP address of HA gateway.
- Peering
Ha stringSecurity Group Id - HA security group used for the gateway.
- Private
Ip string - Private IP address of the gateway created.
- Public
Dns stringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- Security
Group stringId - Security group used for the gateway.
- cloud
Instance StringId - Cloud instance ID of the gateway.
- elb
Dns StringName - ELB DNS name.
- fqdn
Lan StringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- id String
- The provider-assigned unique ID for this managed resource.
- peering
Ha StringCloud Instance Id - Cloud instance ID of the HA gateway.
- peering
Ha StringGw Name - Aviatrix gateway unique name of HA gateway.
- peering
Ha StringPrivate Ip - Private IP address of HA gateway.
- peering
Ha StringSecurity Group Id - HA security group used for the gateway.
- private
Ip String - Private IP address of the gateway created.
- public
Dns StringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- security
Group StringId - Security group used for the gateway.
- cloud
Instance stringId - Cloud instance ID of the gateway.
- elb
Dns stringName - ELB DNS name.
- fqdn
Lan stringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- id string
- The provider-assigned unique ID for this managed resource.
- peering
Ha stringCloud Instance Id - Cloud instance ID of the HA gateway.
- peering
Ha stringGw Name - Aviatrix gateway unique name of HA gateway.
- peering
Ha stringPrivate Ip - Private IP address of HA gateway.
- peering
Ha stringSecurity Group Id - HA security group used for the gateway.
- private
Ip string - Private IP address of the gateway created.
- public
Dns stringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- security
Group stringId - Security group used for the gateway.
- cloud_
instance_ strid - Cloud instance ID of the gateway.
- elb_
dns_ strname - ELB DNS name.
- fqdn_
lan_ strinterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- id str
- The provider-assigned unique ID for this managed resource.
- peering_
ha_ strcloud_ instance_ id - Cloud instance ID of the HA gateway.
- peering_
ha_ strgw_ name - Aviatrix gateway unique name of HA gateway.
- peering_
ha_ strprivate_ ip - Private IP address of HA gateway.
- peering_
ha_ strsecurity_ group_ id - HA security group used for the gateway.
- private_
ip str - Private IP address of the gateway created.
- public_
dns_ strserver - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- security_
group_ strid - Security group used for the gateway.
- cloud
Instance StringId - Cloud instance ID of the gateway.
- elb
Dns StringName - ELB DNS name.
- fqdn
Lan StringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- id String
- The provider-assigned unique ID for this managed resource.
- peering
Ha StringCloud Instance Id - Cloud instance ID of the HA gateway.
- peering
Ha StringGw Name - Aviatrix gateway unique name of HA gateway.
- peering
Ha StringPrivate Ip - Private IP address of HA gateway.
- peering
Ha StringSecurity Group Id - HA security group used for the gateway.
- private
Ip String - Private IP address of the gateway created.
- public
Dns StringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- security
Group StringId - Security group used for the gateway.
Look up Existing AviatrixGateway Resource
Get an existing AviatrixGateway 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?: AviatrixGatewayState, opts?: CustomResourceOptions): AviatrixGateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
additional_cidrs: Optional[str] = None,
additional_cidrs_designated_gateway: Optional[str] = None,
allocate_new_eip: Optional[bool] = None,
availability_domain: Optional[str] = None,
azure_eip_name_resource_group: Optional[str] = None,
cloud_instance_id: Optional[str] = None,
cloud_type: Optional[int] = None,
customer_managed_keys: Optional[str] = None,
duo_api_hostname: Optional[str] = None,
duo_integration_key: Optional[str] = None,
duo_push_mode: Optional[str] = None,
duo_secret_key: Optional[str] = None,
eip: Optional[str] = None,
elb_dns_name: Optional[str] = None,
elb_name: Optional[str] = None,
enable_designated_gateway: Optional[bool] = None,
enable_elb: Optional[bool] = None,
enable_encrypt_volume: Optional[bool] = None,
enable_jumbo_frame: Optional[bool] = None,
enable_ldap: Optional[bool] = None,
enable_monitor_gateway_subnets: Optional[bool] = None,
enable_public_subnet_filtering: Optional[bool] = None,
enable_spot_instance: Optional[bool] = None,
enable_vpc_dns_server: Optional[bool] = None,
enable_vpn_nat: Optional[bool] = None,
fault_domain: Optional[str] = None,
fqdn_lan_cidr: Optional[str] = None,
fqdn_lan_interface: Optional[str] = None,
fqdn_lan_vpc_id: Optional[str] = None,
gw_name: Optional[str] = None,
gw_size: Optional[str] = None,
idle_timeout: Optional[int] = None,
image_version: Optional[str] = None,
insane_mode: Optional[bool] = None,
insane_mode_az: Optional[str] = None,
ldap_base_dn: Optional[str] = None,
ldap_bind_dn: Optional[str] = None,
ldap_password: Optional[str] = None,
ldap_server: Optional[str] = None,
ldap_username_attribute: Optional[str] = None,
max_vpn_conn: Optional[str] = None,
monitor_exclude_lists: Optional[Sequence[str]] = None,
name_servers: Optional[str] = None,
okta_token: Optional[str] = None,
okta_url: Optional[str] = None,
okta_username_suffix: Optional[str] = None,
otp_mode: Optional[str] = None,
peering_ha_availability_domain: Optional[str] = None,
peering_ha_azure_eip_name_resource_group: Optional[str] = None,
peering_ha_cloud_instance_id: Optional[str] = None,
peering_ha_eip: Optional[str] = None,
peering_ha_fault_domain: Optional[str] = None,
peering_ha_gw_name: Optional[str] = None,
peering_ha_gw_size: Optional[str] = None,
peering_ha_image_version: Optional[str] = None,
peering_ha_insane_mode_az: Optional[str] = None,
peering_ha_private_ip: Optional[str] = None,
peering_ha_security_group_id: Optional[str] = None,
peering_ha_software_version: Optional[str] = None,
peering_ha_subnet: Optional[str] = None,
peering_ha_zone: Optional[str] = None,
private_ip: Optional[str] = None,
public_dns_server: Optional[str] = None,
public_subnet_filtering_guard_duty_enforced: Optional[bool] = None,
public_subnet_filtering_ha_route_tables: Optional[Sequence[str]] = None,
public_subnet_filtering_route_tables: Optional[Sequence[str]] = None,
renegotiation_interval: Optional[int] = None,
rx_queue_size: Optional[str] = None,
saml_enabled: Optional[bool] = None,
search_domains: 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,
split_tunnel: Optional[bool] = None,
spot_price: Optional[str] = None,
subnet: Optional[str] = None,
tag_lists: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tunnel_detection_time: Optional[int] = None,
vpc_id: Optional[str] = None,
vpc_reg: Optional[str] = None,
vpn_access: Optional[bool] = None,
vpn_cidr: Optional[str] = None,
vpn_protocol: Optional[str] = None,
zone: Optional[str] = None) -> AviatrixGateway
func GetAviatrixGateway(ctx *Context, name string, id IDInput, state *AviatrixGatewayState, opts ...ResourceOption) (*AviatrixGateway, error)
public static AviatrixGateway Get(string name, Input<string> id, AviatrixGatewayState? state, CustomResourceOptions? opts = null)
public static AviatrixGateway get(String name, Output<String> id, AviatrixGatewayState 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 - Account name. This account will be used to launch Aviatrix gateway.
- Additional
Cidrs string - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- Additional
Cidrs stringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- Allocate
New boolEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Cloud
Instance stringId - Cloud instance ID of the gateway.
- Cloud
Type int - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- Customer
Managed stringKeys - Customer-managed key ID.
- Duo
Api stringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - Duo
Integration stringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - Duo
Push stringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - Duo
Secret stringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - Eip string
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - Elb
Dns stringName - ELB DNS name.
- Elb
Name string - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- Enable
Designated boolGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- Enable
Elb bool - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- Enable
Encrypt boolVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Enable jumbo frames for this gateway. Default value is true.
- Enable
Ldap bool - Enable/disable LDAP. 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.17.1+.
- Enable
Public boolSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- Enable
Vpn boolNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- Fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Fqdn
Lan stringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - Fqdn
Lan stringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- Fqdn
Lan stringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- Gw
Name string - Name of the Aviatrix gateway to be created.
- Gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- Idle
Timeout int - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - Insane
Mode bool - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- Insane
Mode stringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - Ldap
Base stringDn - LDAP base DN. Required if
enable_ldap
is true. - Ldap
Bind stringDn - LDAP bind DN. Required if
enable_ldap
is true. - Ldap
Password string - LDAP password. Required if
enable_ldap
is true. - Ldap
Server string - LDAP server address. Required if
enable_ldap
is true. - Ldap
Username stringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - Max
Vpn stringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - Monitor
Exclude List<string>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- Name
Servers string - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- Okta
Token string - Token for Okta auth mode. Required if
otp_mode
is "3". - Okta
Url string - URL for Okta auth mode. Required if
otp_mode
is "3". - Okta
Username stringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- Otp
Mode string - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- Peering
Ha stringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Peering
Ha stringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Peering
Ha stringCloud Instance Id - Cloud instance ID of the HA gateway.
- Peering
Ha stringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- Peering
Ha stringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Peering
Ha stringGw Name - Aviatrix gateway unique name of HA gateway.
- Peering
Ha stringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- Peering
Ha stringImage Version - 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. - Peering
Ha stringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - Peering
Ha stringPrivate Ip - Private IP address of HA gateway.
- Peering
Ha stringSecurity Group Id - HA security group used for the gateway.
- Peering
Ha stringSoftware Version - 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. - Peering
Ha stringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- Peering
Ha stringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- Private
Ip string - Private IP address of the gateway created.
- Public
Dns stringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- Public
Subnet boolFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - Public
Subnet List<string>Filtering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - Public
Subnet List<string>Filtering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - Renegotiation
Interval int - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- Saml
Enabled bool - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- Search
Domains string - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- Security
Group stringId - Security group used for the gateway.
- Single
Az boolHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- Single
Ip boolSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - Split
Tunnel bool - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- 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) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- Dictionary<string, string>
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- Tunnel
Detection intTime - The IPSec tunnel down detection time for the 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 - VPC region the gateway will be created in. 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".
- Vpn
Access bool - Enable user access through VPN to this gateway. Valid values: true, false.
- Vpn
Cidr string - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - Vpn
Protocol string - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - Zone string
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- Account
Name string - Account name. This account will be used to launch Aviatrix gateway.
- Additional
Cidrs string - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- Additional
Cidrs stringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- Allocate
New boolEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Cloud
Instance stringId - Cloud instance ID of the gateway.
- Cloud
Type int - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- Customer
Managed stringKeys - Customer-managed key ID.
- Duo
Api stringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - Duo
Integration stringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - Duo
Push stringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - Duo
Secret stringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - Eip string
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - Elb
Dns stringName - ELB DNS name.
- Elb
Name string - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- Enable
Designated boolGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- Enable
Elb bool - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- Enable
Encrypt boolVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Enable jumbo frames for this gateway. Default value is true.
- Enable
Ldap bool - Enable/disable LDAP. 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.17.1+.
- Enable
Public boolSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- Enable
Vpn boolNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- Fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Fqdn
Lan stringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - Fqdn
Lan stringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- Fqdn
Lan stringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- Gw
Name string - Name of the Aviatrix gateway to be created.
- Gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- Idle
Timeout int - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - Insane
Mode bool - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- Insane
Mode stringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - Ldap
Base stringDn - LDAP base DN. Required if
enable_ldap
is true. - Ldap
Bind stringDn - LDAP bind DN. Required if
enable_ldap
is true. - Ldap
Password string - LDAP password. Required if
enable_ldap
is true. - Ldap
Server string - LDAP server address. Required if
enable_ldap
is true. - Ldap
Username stringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - Max
Vpn stringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - Monitor
Exclude []stringLists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- Name
Servers string - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- Okta
Token string - Token for Okta auth mode. Required if
otp_mode
is "3". - Okta
Url string - URL for Okta auth mode. Required if
otp_mode
is "3". - Okta
Username stringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- Otp
Mode string - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- Peering
Ha stringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Peering
Ha stringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - Peering
Ha stringCloud Instance Id - Cloud instance ID of the HA gateway.
- Peering
Ha stringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- Peering
Ha stringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- Peering
Ha stringGw Name - Aviatrix gateway unique name of HA gateway.
- Peering
Ha stringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- Peering
Ha stringImage Version - 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. - Peering
Ha stringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - Peering
Ha stringPrivate Ip - Private IP address of HA gateway.
- Peering
Ha stringSecurity Group Id - HA security group used for the gateway.
- Peering
Ha stringSoftware Version - 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. - Peering
Ha stringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- Peering
Ha stringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- Private
Ip string - Private IP address of the gateway created.
- Public
Dns stringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- Public
Subnet boolFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - Public
Subnet []stringFiltering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - Public
Subnet []stringFiltering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - Renegotiation
Interval int - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- Saml
Enabled bool - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- Search
Domains string - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- Security
Group stringId - Security group used for the gateway.
- Single
Az boolHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- Single
Ip boolSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - Split
Tunnel bool - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- 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) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- map[string]string
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- Tunnel
Detection intTime - The IPSec tunnel down detection time for the 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 - VPC region the gateway will be created in. 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".
- Vpn
Access bool - Enable user access through VPN to this gateway. Valid values: true, false.
- Vpn
Cidr string - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - Vpn
Protocol string - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - Zone string
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- account
Name String - Account name. This account will be used to launch Aviatrix gateway.
- additional
Cidrs String - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- additional
Cidrs StringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- allocate
New BooleanEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - cloud
Instance StringId - Cloud instance ID of the gateway.
- cloud
Type Integer - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- customer
Managed StringKeys - Customer-managed key ID.
- duo
Api StringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - duo
Integration StringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - duo
Push StringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - duo
Secret StringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - eip String
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - elb
Dns StringName - ELB DNS name.
- elb
Name String - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- enable
Designated BooleanGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- enable
Elb Boolean - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- enable
Encrypt BooleanVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Enable jumbo frames for this gateway. Default value is true.
- enable
Ldap Boolean - Enable/disable LDAP. 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.17.1+.
- enable
Public BooleanSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- enable
Vpn BooleanNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- fault
Domain String - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- fqdn
Lan StringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - fqdn
Lan StringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- fqdn
Lan StringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- gw
Name String - Name of the Aviatrix gateway to be created.
- gw
Size String - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- idle
Timeout Integer - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - insane
Mode Boolean - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- insane
Mode StringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - ldap
Base StringDn - LDAP base DN. Required if
enable_ldap
is true. - ldap
Bind StringDn - LDAP bind DN. Required if
enable_ldap
is true. - ldap
Password String - LDAP password. Required if
enable_ldap
is true. - ldap
Server String - LDAP server address. Required if
enable_ldap
is true. - ldap
Username StringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - max
Vpn StringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - monitor
Exclude List<String>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- name
Servers String - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- okta
Token String - Token for Okta auth mode. Required if
otp_mode
is "3". - okta
Url String - URL for Okta auth mode. Required if
otp_mode
is "3". - okta
Username StringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- otp
Mode String - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- peering
Ha StringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha StringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - peering
Ha StringCloud Instance Id - Cloud instance ID of the HA gateway.
- peering
Ha StringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- peering
Ha StringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha StringGw Name - Aviatrix gateway unique name of HA gateway.
- peering
Ha StringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- peering
Ha StringImage Version - 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. - peering
Ha StringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - peering
Ha StringPrivate Ip - Private IP address of HA gateway.
- peering
Ha StringSecurity Group Id - HA security group used for the gateway.
- peering
Ha StringSoftware Version - 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. - peering
Ha StringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- peering
Ha StringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- private
Ip String - Private IP address of the gateway created.
- public
Dns StringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- public
Subnet BooleanFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - public
Subnet List<String>Filtering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - public
Subnet List<String>Filtering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - renegotiation
Interval Integer - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- saml
Enabled Boolean - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- search
Domains String - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- security
Group StringId - Security group used for the gateway.
- single
Az BooleanHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- single
Ip BooleanSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - split
Tunnel Boolean - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- 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) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- Map<String,String>
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- tunnel
Detection IntegerTime - The IPSec tunnel down detection time for the 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 - VPC region the gateway will be created in. 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".
- vpn
Access Boolean - Enable user access through VPN to this gateway. Valid values: true, false.
- vpn
Cidr String - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - vpn
Protocol String - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - zone String
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- account
Name string - Account name. This account will be used to launch Aviatrix gateway.
- additional
Cidrs string - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- additional
Cidrs stringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- allocate
New booleanEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - cloud
Instance stringId - Cloud instance ID of the gateway.
- cloud
Type number - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- customer
Managed stringKeys - Customer-managed key ID.
- duo
Api stringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - duo
Integration stringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - duo
Push stringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - duo
Secret stringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - eip string
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - elb
Dns stringName - ELB DNS name.
- elb
Name string - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- enable
Designated booleanGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- enable
Elb boolean - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- enable
Encrypt booleanVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- enable
Jumbo booleanFrame - Enable jumbo frames for this gateway. Default value is true.
- enable
Ldap boolean - Enable/disable LDAP. 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.17.1+.
- enable
Public booleanSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- enable
Vpn booleanNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- fault
Domain string - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- fqdn
Lan stringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - fqdn
Lan stringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- fqdn
Lan stringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- gw
Name string - Name of the Aviatrix gateway to be created.
- gw
Size string - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- idle
Timeout number - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - insane
Mode boolean - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- insane
Mode stringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - ldap
Base stringDn - LDAP base DN. Required if
enable_ldap
is true. - ldap
Bind stringDn - LDAP bind DN. Required if
enable_ldap
is true. - ldap
Password string - LDAP password. Required if
enable_ldap
is true. - ldap
Server string - LDAP server address. Required if
enable_ldap
is true. - ldap
Username stringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - max
Vpn stringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - monitor
Exclude string[]Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- name
Servers string - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- okta
Token string - Token for Okta auth mode. Required if
otp_mode
is "3". - okta
Url string - URL for Okta auth mode. Required if
otp_mode
is "3". - okta
Username stringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- otp
Mode string - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- peering
Ha stringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha stringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - peering
Ha stringCloud Instance Id - Cloud instance ID of the HA gateway.
- peering
Ha stringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- peering
Ha stringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha stringGw Name - Aviatrix gateway unique name of HA gateway.
- peering
Ha stringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- peering
Ha stringImage Version - 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. - peering
Ha stringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - peering
Ha stringPrivate Ip - Private IP address of HA gateway.
- peering
Ha stringSecurity Group Id - HA security group used for the gateway.
- peering
Ha stringSoftware Version - 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. - peering
Ha stringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- peering
Ha stringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- private
Ip string - Private IP address of the gateway created.
- public
Dns stringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- public
Subnet booleanFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - public
Subnet string[]Filtering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - public
Subnet string[]Filtering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - renegotiation
Interval number - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- saml
Enabled boolean - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- search
Domains string - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- security
Group stringId - Security group used for the gateway.
- single
Az booleanHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- single
Ip booleanSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - split
Tunnel boolean - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- 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) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- {[key: string]: string}
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- tunnel
Detection numberTime - The IPSec tunnel down detection time for the 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 - VPC region the gateway will be created in. 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".
- vpn
Access boolean - Enable user access through VPN to this gateway. Valid values: true, false.
- vpn
Cidr string - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - vpn
Protocol string - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - zone string
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- account_
name str - Account name. This account will be used to launch Aviatrix gateway.
- additional_
cidrs str - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- additional_
cidrs_ strdesignated_ gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- allocate_
new_ booleip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - cloud_
instance_ strid - Cloud instance ID of the gateway.
- cloud_
type int - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- customer_
managed_ strkeys - Customer-managed key ID.
- duo_
api_ strhostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - duo_
integration_ strkey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - duo_
push_ strmode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - duo_
secret_ strkey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - eip str
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - elb_
dns_ strname - ELB DNS name.
- elb_
name str - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- enable_
designated_ boolgateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- enable_
elb bool - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- enable_
encrypt_ boolvolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- enable_
jumbo_ boolframe - Enable jumbo frames for this gateway. Default value is true.
- enable_
ldap bool - Enable/disable LDAP. 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.17.1+.
- enable_
public_ boolsubnet_ filtering - Create a Public Subnet Filtering gateway.
- 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.
- enable_
vpn_ boolnat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- fault_
domain str - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- fqdn_
lan_ strcidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - fqdn_
lan_ strinterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- fqdn_
lan_ strvpc_ id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- gw_
name str - Name of the Aviatrix gateway to be created.
- gw_
size str - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- idle_
timeout int - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - insane_
mode bool - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- insane_
mode_ straz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - ldap_
base_ strdn - LDAP base DN. Required if
enable_ldap
is true. - ldap_
bind_ strdn - LDAP bind DN. Required if
enable_ldap
is true. - ldap_
password str - LDAP password. Required if
enable_ldap
is true. - ldap_
server str - LDAP server address. Required if
enable_ldap
is true. - ldap_
username_ strattribute - LDAP user attribute. Required if
enable_ldap
is true. - max_
vpn_ strconn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - monitor_
exclude_ Sequence[str]lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- name_
servers str - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- okta_
token str - Token for Okta auth mode. Required if
otp_mode
is "3". - okta_
url str - URL for Okta auth mode. Required if
otp_mode
is "3". - okta_
username_ strsuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- otp_
mode str - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- peering_
ha_ stravailability_ domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering_
ha_ strazure_ eip_ name_ resource_ group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - peering_
ha_ strcloud_ instance_ id - Cloud instance ID of the HA gateway.
- peering_
ha_ streip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- peering_
ha_ strfault_ domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering_
ha_ strgw_ name - Aviatrix gateway unique name of HA gateway.
- peering_
ha_ strgw_ size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- peering_
ha_ strimage_ version - 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. - peering_
ha_ strinsane_ mode_ az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - peering_
ha_ strprivate_ ip - Private IP address of HA gateway.
- peering_
ha_ strsecurity_ group_ id - HA security group used for the gateway.
- peering_
ha_ strsoftware_ version - 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. - peering_
ha_ strsubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- peering_
ha_ strzone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- private_
ip str - Private IP address of the gateway created.
- public_
dns_ strserver - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- public_
subnet_ boolfiltering_ guard_ duty_ enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - public_
subnet_ Sequence[str]filtering_ ha_ route_ tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - public_
subnet_ Sequence[str]filtering_ route_ tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - renegotiation_
interval int - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- saml_
enabled bool - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- search_
domains str - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- security_
group_ strid - Security group used for the gateway.
- single_
az_ boolha - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- single_
ip_ boolsnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - split_
tunnel bool - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- 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) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- Mapping[str, str]
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- tunnel_
detection_ inttime - The IPSec tunnel down detection time for the 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 - VPC region the gateway will be created in. 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".
- vpn_
access bool - Enable user access through VPN to this gateway. Valid values: true, false.
- vpn_
cidr str - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - vpn_
protocol str - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - zone str
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of provider version R2.17+.
- account
Name String - Account name. This account will be used to launch Aviatrix gateway.
- additional
Cidrs String - A list of destination CIDR ranges that will also go through the VPN tunnel when Split Tunnel Mode is enabled.
- additional
Cidrs StringDesignated Gateway - A list of CIDR ranges separated by comma to configure when "Designated Gateway" feature is enabled. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".
- allocate
New BooleanEip - If set to false, use an available address in Elastic IP pool for this gateway. Otherwise, allocate a new Elastic IP and use it for this gateway. Available in Controller 2.7+. Valid values: true, false. Default: true.
- 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 gateway instance. Example: "IP_Name:Resource_Group_Name". Required when
allocate_new_eip
is false andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - cloud
Instance StringId - Cloud instance ID of the gateway.
- cloud
Type Number - Cloud service provider to use to launch the gateway. Requires an integer value. Currently supports 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).
- customer
Managed StringKeys - Customer-managed key ID.
- duo
Api StringHostname - API hostname for DUO auth mode. Required: Yes if
otp_mode
is "2". - duo
Integration StringKey - Integration key for DUO auth mode. Required if
otp_mode
is "2". - duo
Push StringMode - Push mode for DUO auth. Required if
otp_mode
is "2". Valid values: "auto", "selective" and "token". - duo
Secret StringKey - Secret key for DUO auth mode. Required if
otp_mode
is "2". - eip String
- Specified EIP to use for gateway creation. Required when
allocate_new_eip
is false. Available in Controller version 3.5+. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret. - elb
Dns StringName - ELB DNS name.
- elb
Name String - A name for the ELB that is created. If it is not specified, a name is generated automatically.
- enable
Designated BooleanGateway - Enable Designated Gateway feature for Gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false. Please view documentation here for more information on this feature.
- enable
Elb Boolean - Specify whether to enable ELB or not. Not supported for OCI gateways. Valid values: true, false.
- enable
Encrypt BooleanVolume - Enable EBS volume encryption for the gateway. Only supported for AWS, AWSGov, AWSChina, AWS Top Secret and AWS Secret gateways. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Enable jumbo frames for this gateway. Default value is true.
- enable
Ldap Boolean - Enable/disable LDAP. 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.17.1+.
- enable
Public BooleanSubnet Filtering - Create a Public Subnet Filtering gateway.
- 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.
- enable
Vpn BooleanNat - Enable/disable VPN NAT. Only supported for VPN gateway. Valid values: true, false. Default value: true.
- fault
Domain String - Fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- fqdn
Lan StringCidr - If
fqdn_lan_cidr
is set, the FQDN gateway will be created with an additional LAN interface using the provided CIDR. This attribute is required when enabling FQDN gateway FireNet in Azure or GCP. Available in provider version R2.17.1+. - fqdn
Lan StringInterface - The lan interface id of the of FQDN gateway with additional LAN interface. This attribute will be exported when enabling FQDN gateway firenet in Azure. Available in provider version R2.17.1+.
- fqdn
Lan StringVpc Id - FQDN LAN VPC ID. This attribute is required when enabling FQDN gateway FireNet in GCP. Available as of provider version R2.18.1+.
- gw
Name String - Name of the Aviatrix gateway to be created.
- gw
Size String - Size of the gateway instance. Example: AWS/AWSGov/AWSChina: "t2.large", GCP: "n1-standard-1", Azure/AzureGov/AzureChina: "Standard_B1s", OCI: "VM.Standard2.2".
- idle
Timeout Number - It sets the value (seconds) of the idle timeout. This idle timeout feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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. - insane
Mode Boolean - Enable Insane Mode for Gateway. Insane Mode gateway size must be at least c5 series (AWS) or Standard_D3_v2 (Azure/AzureGov). If enabled, a valid /26 CIDR segment of the VPC must be specified to create a new subnet. Only supported for AWS, AWSGov, Azure, AzureGov, AWS China, Azure China, AWS Top Secret or AWS Secret. Valid values: true, false.
- insane
Mode StringAz - Region + Availability Zone of subnet being created for Insane Mode gateway. Required for AWS, AWSGov, AWS China, AWS Top Secret or AWS Secret if
insane_mode
is set. Example: AWS: "us-west-1a". - ldap
Base StringDn - LDAP base DN. Required if
enable_ldap
is true. - ldap
Bind StringDn - LDAP bind DN. Required if
enable_ldap
is true. - ldap
Password String - LDAP password. Required if
enable_ldap
is true. - ldap
Server String - LDAP server address. Required if
enable_ldap
is true. - ldap
Username StringAttribute - LDAP user attribute. Required if
enable_ldap
is true. - max
Vpn StringConn - Maximum number of active VPN users allowed to be connected to this gateway. Required if
vpn_access
is true. Make sure the number is smaller than the VPN CIDR block. Example: 100. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.14. - monitor
Exclude List<String>Lists - Set of monitored instance ids. Only valid when 'enable_monitor_gateway_subnets' = true. Available in provider version R2.17.1+.
- name
Servers String - A list of DNS servers used to resolve domain names by a connected VPN user when Split Tunnel Mode is enabled.
- okta
Token String - Token for Okta auth mode. Required if
otp_mode
is "3". - okta
Url String - URL for Okta auth mode. Required if
otp_mode
is "3". - okta
Username StringSuffix - Username suffix for Okta auth mode. Example: "aviatrix.com".
- otp
Mode String - Two step authentication mode. Valid values: "2" for DUO, "3" for Okta.
- peering
Ha StringAvailability Domain - Peering HA gateway availability domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha StringAzure Eip Name Resource Group - Name of public IP address resource and its resource group in Azure to be assigned to the HA peering instance. Example: "IP_Name:Resource_Group_Name". Required if
peering_ha_eip
is set andcloud_type
is Azure, AzureGov or AzureChina. Available as of provider version 2.20+. - peering
Ha StringCloud Instance Id - Cloud instance ID of the HA gateway.
- peering
Ha StringEip - Public IP address to be assigned to the HA peering instance. Only available for AWS, GCP, Azure, OCI, AzureGov, AWSGov, AWSChina, AzureChina, AWS Top Secret and AWS Secret.
- peering
Ha StringFault Domain - Peering HA gateway fault domain. Required and valid only for OCI. Available as of provider version R2.19.3.
- peering
Ha StringGw Name - Aviatrix gateway unique name of HA gateway.
- peering
Ha StringGw Size - Size of the Peering HA Gateway to be created. Required if enabling Peering HA. NOTE: Please see notes here in regards to any deltas found in your state with the addition of this argument in R1.8.
- peering
Ha StringImage Version - 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. - peering
Ha StringInsane Mode Az - Region + Availability Zone of subnet being created for Insane Mode-enabled Peering HA Gateway. Required for AWS only if
insane_mode
is set andpeering_ha_subnet
is set. Example: AWS: "us-west-1a". - peering
Ha StringPrivate Ip - Private IP address of HA gateway.
- peering
Ha StringSecurity Group Id - HA security group used for the gateway.
- peering
Ha StringSoftware Version - 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. - peering
Ha StringSubnet - Public subnet CIDR to create Peering HA Gateway in. Required if enabling Peering HA for AWS/AWSGov/AWS Top Secret/AWS Secret/Azure/AzureGov/Alibaba Cloud. Optional if enabling Peering HA for GCP. Example: AWS: "10.0.0.0/16".
- peering
Ha StringZone - Zone to create Peering HA Gateway in. Required if enabling Peering HA for GCP. Example: GCP: "us-west1-c". Optional for Azure. Valid values for Azure gateways are in the form "az-n". Example: "az-2". Available for Azure as of provider version R2.17+.
- private
Ip String - Private IP address of the gateway created.
- public
Dns StringServer - DNS server used by the gateway. Default is "8.8.8.8", can be overridden with the VPC's setting.
- public
Subnet BooleanFiltering Guard Duty Enforced - Whether to enforce Guard Duty IP blocking. Only valid when
enable_public_subnet_filtering
attribute is true. Valid values: true or false. Default value: true. Available as of provider version R2.18+. - public
Subnet List<String>Filtering Ha Route Tables - Route tables whose associated public subnets are protected for the HA PSF gateway. Required when
enable_public_subnet_filtering
andpeering_ha_subnet
are set. Available as of provider version R2.18+. - public
Subnet List<String>Filtering Route Tables - Route tables whose associated public subnets are protected. Only valid when
enable_public_subnet_filtering
attribute is true. Available as of provider version R2.18+. - renegotiation
Interval Number - It sets the value (seconds) of the renegotiation interval. This renegotiation interval feature is enable only if this attribute is set, otherwise it is disabled. The entered value must be an integer number greater than 300. Available in provider version R2.17.1+.
- 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+.
- saml
Enabled Boolean - Enable/disable SAML. This field is available in Controller version 3.3 or later release. Valid values: true, false. Default value: false.
- search
Domains String - A list of domain names that will use the NameServer when a specific name is not in the destination when Split Tunnel Mode is enabled.
- security
Group StringId - Security group used for the gateway.
- single
Az BooleanHa - If enabled, Controller monitors the health of the gateway and restarts the gateway if it becomes unreachable. Valid values: true, false. Default value: false.
- single
Ip BooleanSnat - Enable Source NAT in "single ip" mode for this gateway. Valid values: true, false. Default value: false. NOTE: If using SNAT for FQDN use-case, please see notes here.
- 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. - split
Tunnel Boolean - Enable/disable Split Tunnel Mode. Valid values: true, false. Default value: true. Please see here for more information on split tunnel.
- 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) Tag list of the gateway instance. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov and AzureChina gateways. Example: ["key1:value1", "key2:value2"].
storage_name
(Optional) Specify a storage account. Required ifcloud_type
is 2048 (AzureChina). Removed in Provider version 2.21.0+.
- Map<String>
- Map of tags to assign to the gateway. Only available for AWS, AWSGov, AWSChina, Azure, AzureGov, 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"}.
- tunnel
Detection NumberTime - The IPSec tunnel down detection time for the 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 - VPC region the gateway will be created in. 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".
- vpn
Access Boolean - Enable user access through VPN to this gateway. Valid values: true, false.
- vpn
Cidr String - VPN CIDR block for the gateway. Required if
vpn_access
is true. Example: "192.168.43.0/24". - vpn
Protocol String - Transport mode for VPN connection. All
cloud_types
support TCP with ELB, and UDP without ELB. AWS(1) additionally supports UDP with ELB. Valid values: "TCP", "UDP". If not specified, "TCP" will be used. - zone String
- Availability Zone. Only available for Azure and Public Subnet Filtering gateway. Available for Azure as of 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.