1. Packages
  2. Aviatrix
  3. API Docs
  4. AviatrixFirewallInstanceAssociation
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

aviatrix.AviatrixFirewallInstanceAssociation

Explore with Pulumi AI

aviatrix logo
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

    The aviatrix_firewall_instance_association resource allows for the creation and management of a firewall instance association. To use this resource you must also have an aviatrix.AviatrixFirenet resource with it’s manage_firewall_instance_association attribute set to false.

    Available in provider version R2.17.1+.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Associate an Aviatrix FireNet Gateway with a Firewall Instance
        var firewallInstanceAssociation1 = new Aviatrix.AviatrixFirewallInstanceAssociation("firewallInstanceAssociation1", new()
        {
            VpcId = aviatrix_firewall_instance.Firewall_instance_1.Vpc_id,
            FirenetGwName = aviatrix_transit_gateway.Transit_gateway_1.Gw_name,
            InstanceId = aviatrix_firewall_instance.Firewall_instance_1.Instance_id,
            FirewallName = aviatrix_firewall_instance.Firewall_instance_1.Firewall_name,
            LanInterface = aviatrix_firewall_instance.Firewall_instance_1.Lan_interface,
            ManagementInterface = aviatrix_firewall_instance.Firewall_instance_1.Management_interface,
            EgressInterface = aviatrix_firewall_instance.Firewall_instance_1.Egress_interface,
            Attached = true,
        });
    
    });
    
    package main
    
    import (
    	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aviatrix.NewAviatrixFirewallInstanceAssociation(ctx, "firewallInstanceAssociation1", &aviatrix.AviatrixFirewallInstanceAssociationArgs{
    			VpcId:               pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Vpc_id),
    			FirenetGwName:       pulumi.Any(aviatrix_transit_gateway.Transit_gateway_1.Gw_name),
    			InstanceId:          pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Instance_id),
    			FirewallName:        pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Firewall_name),
    			LanInterface:        pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Lan_interface),
    			ManagementInterface: pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Management_interface),
    			EgressInterface:     pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Egress_interface),
    			Attached:            pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aviatrix.AviatrixFirewallInstanceAssociation;
    import com.pulumi.aviatrix.AviatrixFirewallInstanceAssociationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var firewallInstanceAssociation1 = new AviatrixFirewallInstanceAssociation("firewallInstanceAssociation1", AviatrixFirewallInstanceAssociationArgs.builder()        
                .vpcId(aviatrix_firewall_instance.firewall_instance_1().vpc_id())
                .firenetGwName(aviatrix_transit_gateway.transit_gateway_1().gw_name())
                .instanceId(aviatrix_firewall_instance.firewall_instance_1().instance_id())
                .firewallName(aviatrix_firewall_instance.firewall_instance_1().firewall_name())
                .lanInterface(aviatrix_firewall_instance.firewall_instance_1().lan_interface())
                .managementInterface(aviatrix_firewall_instance.firewall_instance_1().management_interface())
                .egressInterface(aviatrix_firewall_instance.firewall_instance_1().egress_interface())
                .attached(true)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Associate an Aviatrix FireNet Gateway with a Firewall Instance
    firewall_instance_association1 = aviatrix.AviatrixFirewallInstanceAssociation("firewallInstanceAssociation1",
        vpc_id=aviatrix_firewall_instance["firewall_instance_1"]["vpc_id"],
        firenet_gw_name=aviatrix_transit_gateway["transit_gateway_1"]["gw_name"],
        instance_id=aviatrix_firewall_instance["firewall_instance_1"]["instance_id"],
        firewall_name=aviatrix_firewall_instance["firewall_instance_1"]["firewall_name"],
        lan_interface=aviatrix_firewall_instance["firewall_instance_1"]["lan_interface"],
        management_interface=aviatrix_firewall_instance["firewall_instance_1"]["management_interface"],
        egress_interface=aviatrix_firewall_instance["firewall_instance_1"]["egress_interface"],
        attached=True)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@astipkovits/aviatrix";
    
    // Associate an Aviatrix FireNet Gateway with a Firewall Instance
    const firewallInstanceAssociation1 = new aviatrix.AviatrixFirewallInstanceAssociation("firewallInstanceAssociation1", {
        vpcId: aviatrix_firewall_instance.firewall_instance_1.vpc_id,
        firenetGwName: aviatrix_transit_gateway.transit_gateway_1.gw_name,
        instanceId: aviatrix_firewall_instance.firewall_instance_1.instance_id,
        firewallName: aviatrix_firewall_instance.firewall_instance_1.firewall_name,
        lanInterface: aviatrix_firewall_instance.firewall_instance_1.lan_interface,
        managementInterface: aviatrix_firewall_instance.firewall_instance_1.management_interface,
        egressInterface: aviatrix_firewall_instance.firewall_instance_1.egress_interface,
        attached: true,
    });
    
    resources:
      # Associate an Aviatrix FireNet Gateway with a Firewall Instance
      firewallInstanceAssociation1:
        type: aviatrix:AviatrixFirewallInstanceAssociation
        properties:
          vpcId: ${aviatrix_firewall_instance.firewall_instance_1.vpc_id}
          firenetGwName: ${aviatrix_transit_gateway.transit_gateway_1.gw_name}
          instanceId: ${aviatrix_firewall_instance.firewall_instance_1.instance_id}
          firewallName: ${aviatrix_firewall_instance.firewall_instance_1.firewall_name}
          lanInterface: ${aviatrix_firewall_instance.firewall_instance_1.lan_interface}
          managementInterface: ${aviatrix_firewall_instance.firewall_instance_1.management_interface}
          egressInterface: ${aviatrix_firewall_instance.firewall_instance_1.egress_interface}
          attached: true
    
    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Associate an GCP Aviatrix FireNet Gateway with a Firewall Instance
        var firewallInstanceAssociation1 = new Aviatrix.AviatrixFirewallInstanceAssociation("firewallInstanceAssociation1", new()
        {
            VpcId = aviatrix_firewall_instance.Firewall_instance_1.Vpc_id,
            FirenetGwName = aviatrix_transit_gateway.Transit_gateway_1.Gw_name,
            InstanceId = aviatrix_firewall_instance.Firewall_instance_1.Instance_id,
            LanInterface = aviatrix_firewall_instance.Firewall_instance_1.Lan_interface,
            ManagementInterface = aviatrix_firewall_instance.Firewall_instance_1.Management_interface,
            EgressInterface = aviatrix_firewall_instance.Firewall_instance_1.Egress_interface,
            Attached = true,
        });
    
    });
    
    package main
    
    import (
    	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aviatrix.NewAviatrixFirewallInstanceAssociation(ctx, "firewallInstanceAssociation1", &aviatrix.AviatrixFirewallInstanceAssociationArgs{
    			VpcId:               pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Vpc_id),
    			FirenetGwName:       pulumi.Any(aviatrix_transit_gateway.Transit_gateway_1.Gw_name),
    			InstanceId:          pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Instance_id),
    			LanInterface:        pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Lan_interface),
    			ManagementInterface: pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Management_interface),
    			EgressInterface:     pulumi.Any(aviatrix_firewall_instance.Firewall_instance_1.Egress_interface),
    			Attached:            pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aviatrix.AviatrixFirewallInstanceAssociation;
    import com.pulumi.aviatrix.AviatrixFirewallInstanceAssociationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var firewallInstanceAssociation1 = new AviatrixFirewallInstanceAssociation("firewallInstanceAssociation1", AviatrixFirewallInstanceAssociationArgs.builder()        
                .vpcId(aviatrix_firewall_instance.firewall_instance_1().vpc_id())
                .firenetGwName(aviatrix_transit_gateway.transit_gateway_1().gw_name())
                .instanceId(aviatrix_firewall_instance.firewall_instance_1().instance_id())
                .lanInterface(aviatrix_firewall_instance.firewall_instance_1().lan_interface())
                .managementInterface(aviatrix_firewall_instance.firewall_instance_1().management_interface())
                .egressInterface(aviatrix_firewall_instance.firewall_instance_1().egress_interface())
                .attached(true)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Associate an GCP Aviatrix FireNet Gateway with a Firewall Instance
    firewall_instance_association1 = aviatrix.AviatrixFirewallInstanceAssociation("firewallInstanceAssociation1",
        vpc_id=aviatrix_firewall_instance["firewall_instance_1"]["vpc_id"],
        firenet_gw_name=aviatrix_transit_gateway["transit_gateway_1"]["gw_name"],
        instance_id=aviatrix_firewall_instance["firewall_instance_1"]["instance_id"],
        lan_interface=aviatrix_firewall_instance["firewall_instance_1"]["lan_interface"],
        management_interface=aviatrix_firewall_instance["firewall_instance_1"]["management_interface"],
        egress_interface=aviatrix_firewall_instance["firewall_instance_1"]["egress_interface"],
        attached=True)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@astipkovits/aviatrix";
    
    // Associate an GCP Aviatrix FireNet Gateway with a Firewall Instance
    const firewallInstanceAssociation1 = new aviatrix.AviatrixFirewallInstanceAssociation("firewallInstanceAssociation1", {
        vpcId: aviatrix_firewall_instance.firewall_instance_1.vpc_id,
        firenetGwName: aviatrix_transit_gateway.transit_gateway_1.gw_name,
        instanceId: aviatrix_firewall_instance.firewall_instance_1.instance_id,
        lanInterface: aviatrix_firewall_instance.firewall_instance_1.lan_interface,
        managementInterface: aviatrix_firewall_instance.firewall_instance_1.management_interface,
        egressInterface: aviatrix_firewall_instance.firewall_instance_1.egress_interface,
        attached: true,
    });
    
    resources:
      # Associate an GCP Aviatrix FireNet Gateway with a Firewall Instance
      firewallInstanceAssociation1:
        type: aviatrix:AviatrixFirewallInstanceAssociation
        properties:
          vpcId: ${aviatrix_firewall_instance.firewall_instance_1.vpc_id}
          firenetGwName: ${aviatrix_transit_gateway.transit_gateway_1.gw_name}
          instanceId: ${aviatrix_firewall_instance.firewall_instance_1.instance_id}
          lanInterface: ${aviatrix_firewall_instance.firewall_instance_1.lan_interface}
          managementInterface: ${aviatrix_firewall_instance.firewall_instance_1.management_interface}
          egressInterface: ${aviatrix_firewall_instance.firewall_instance_1.egress_interface}
          attached: true
    

    Create AviatrixFirewallInstanceAssociation Resource

    new AviatrixFirewallInstanceAssociation(name: string, args: AviatrixFirewallInstanceAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def AviatrixFirewallInstanceAssociation(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            attached: Optional[bool] = None,
                                            egress_interface: Optional[str] = None,
                                            firenet_gw_name: Optional[str] = None,
                                            firewall_name: Optional[str] = None,
                                            instance_id: Optional[str] = None,
                                            lan_interface: Optional[str] = None,
                                            management_interface: Optional[str] = None,
                                            vendor_type: Optional[str] = None,
                                            vpc_id: Optional[str] = None)
    @overload
    def AviatrixFirewallInstanceAssociation(resource_name: str,
                                            args: AviatrixFirewallInstanceAssociationArgs,
                                            opts: Optional[ResourceOptions] = None)
    func NewAviatrixFirewallInstanceAssociation(ctx *Context, name string, args AviatrixFirewallInstanceAssociationArgs, opts ...ResourceOption) (*AviatrixFirewallInstanceAssociation, error)
    public AviatrixFirewallInstanceAssociation(string name, AviatrixFirewallInstanceAssociationArgs args, CustomResourceOptions? opts = null)
    public AviatrixFirewallInstanceAssociation(String name, AviatrixFirewallInstanceAssociationArgs args)
    public AviatrixFirewallInstanceAssociation(String name, AviatrixFirewallInstanceAssociationArgs args, CustomResourceOptions options)
    
    type: aviatrix:AviatrixFirewallInstanceAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AviatrixFirewallInstanceAssociationArgs
    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 AviatrixFirewallInstanceAssociationArgs
    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 AviatrixFirewallInstanceAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AviatrixFirewallInstanceAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AviatrixFirewallInstanceAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AviatrixFirewallInstanceAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AviatrixFirewallInstanceAssociation resource accepts the following input properties:

    InstanceId string
    ID of Firewall instance.
    VpcId string
    VPC ID of the Security VPC.
    Attached bool
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    EgressInterface string
    Egress interface ID. Required if it is a firewall instance.
    FirenetGwName string
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    FirewallName string
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    LanInterface string
    Lan interface ID. Required if it is a firewall instance.
    ManagementInterface string
    Management interface ID. Required if it is a firewall instance.
    VendorType string
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    InstanceId string
    ID of Firewall instance.
    VpcId string
    VPC ID of the Security VPC.
    Attached bool
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    EgressInterface string
    Egress interface ID. Required if it is a firewall instance.
    FirenetGwName string
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    FirewallName string
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    LanInterface string
    Lan interface ID. Required if it is a firewall instance.
    ManagementInterface string
    Management interface ID. Required if it is a firewall instance.
    VendorType string
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    instanceId String
    ID of Firewall instance.
    vpcId String
    VPC ID of the Security VPC.
    attached Boolean
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    egressInterface String
    Egress interface ID. Required if it is a firewall instance.
    firenetGwName String
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    firewallName String
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    lanInterface String
    Lan interface ID. Required if it is a firewall instance.
    managementInterface String
    Management interface ID. Required if it is a firewall instance.
    vendorType String
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    instanceId string
    ID of Firewall instance.
    vpcId string
    VPC ID of the Security VPC.
    attached boolean
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    egressInterface string
    Egress interface ID. Required if it is a firewall instance.
    firenetGwName string
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    firewallName string
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    lanInterface string
    Lan interface ID. Required if it is a firewall instance.
    managementInterface string
    Management interface ID. Required if it is a firewall instance.
    vendorType string
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    instance_id str
    ID of Firewall instance.
    vpc_id str
    VPC ID of the Security VPC.
    attached bool
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    egress_interface str
    Egress interface ID. Required if it is a firewall instance.
    firenet_gw_name str
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    firewall_name str
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    lan_interface str
    Lan interface ID. Required if it is a firewall instance.
    management_interface str
    Management interface ID. Required if it is a firewall instance.
    vendor_type str
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    instanceId String
    ID of Firewall instance.
    vpcId String
    VPC ID of the Security VPC.
    attached Boolean
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    egressInterface String
    Egress interface ID. Required if it is a firewall instance.
    firenetGwName String
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    firewallName String
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    lanInterface String
    Lan interface ID. Required if it is a firewall instance.
    managementInterface String
    Management interface ID. Required if it is a firewall instance.
    vendorType String
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AviatrixFirewallInstanceAssociation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AviatrixFirewallInstanceAssociation Resource

    Get an existing AviatrixFirewallInstanceAssociation 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?: AviatrixFirewallInstanceAssociationState, opts?: CustomResourceOptions): AviatrixFirewallInstanceAssociation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attached: Optional[bool] = None,
            egress_interface: Optional[str] = None,
            firenet_gw_name: Optional[str] = None,
            firewall_name: Optional[str] = None,
            instance_id: Optional[str] = None,
            lan_interface: Optional[str] = None,
            management_interface: Optional[str] = None,
            vendor_type: Optional[str] = None,
            vpc_id: Optional[str] = None) -> AviatrixFirewallInstanceAssociation
    func GetAviatrixFirewallInstanceAssociation(ctx *Context, name string, id IDInput, state *AviatrixFirewallInstanceAssociationState, opts ...ResourceOption) (*AviatrixFirewallInstanceAssociation, error)
    public static AviatrixFirewallInstanceAssociation Get(string name, Input<string> id, AviatrixFirewallInstanceAssociationState? state, CustomResourceOptions? opts = null)
    public static AviatrixFirewallInstanceAssociation get(String name, Output<String> id, AviatrixFirewallInstanceAssociationState 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.
    The following state arguments are supported:
    Attached bool
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    EgressInterface string
    Egress interface ID. Required if it is a firewall instance.
    FirenetGwName string
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    FirewallName string
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    InstanceId string
    ID of Firewall instance.
    LanInterface string
    Lan interface ID. Required if it is a firewall instance.
    ManagementInterface string
    Management interface ID. Required if it is a firewall instance.
    VendorType string
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    VpcId string
    VPC ID of the Security VPC.
    Attached bool
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    EgressInterface string
    Egress interface ID. Required if it is a firewall instance.
    FirenetGwName string
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    FirewallName string
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    InstanceId string
    ID of Firewall instance.
    LanInterface string
    Lan interface ID. Required if it is a firewall instance.
    ManagementInterface string
    Management interface ID. Required if it is a firewall instance.
    VendorType string
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    VpcId string
    VPC ID of the Security VPC.
    attached Boolean
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    egressInterface String
    Egress interface ID. Required if it is a firewall instance.
    firenetGwName String
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    firewallName String
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    instanceId String
    ID of Firewall instance.
    lanInterface String
    Lan interface ID. Required if it is a firewall instance.
    managementInterface String
    Management interface ID. Required if it is a firewall instance.
    vendorType String
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    vpcId String
    VPC ID of the Security VPC.
    attached boolean
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    egressInterface string
    Egress interface ID. Required if it is a firewall instance.
    firenetGwName string
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    firewallName string
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    instanceId string
    ID of Firewall instance.
    lanInterface string
    Lan interface ID. Required if it is a firewall instance.
    managementInterface string
    Management interface ID. Required if it is a firewall instance.
    vendorType string
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    vpcId string
    VPC ID of the Security VPC.
    attached bool
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    egress_interface str
    Egress interface ID. Required if it is a firewall instance.
    firenet_gw_name str
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    firewall_name str
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    instance_id str
    ID of Firewall instance.
    lan_interface str
    Lan interface ID. Required if it is a firewall instance.
    management_interface str
    Management interface ID. Required if it is a firewall instance.
    vendor_type str
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    vpc_id str
    VPC ID of the Security VPC.
    attached Boolean
    Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
    egressInterface String
    Egress interface ID. Required if it is a firewall instance.
    firenetGwName String
    Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
    firewallName String
    Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
    instanceId String
    ID of Firewall instance.
    lanInterface String
    Lan interface ID. Required if it is a firewall instance.
    managementInterface String
    Management interface ID. Required if it is a firewall instance.
    vendorType String
    Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
    vpcId String
    VPC ID of the Security VPC.

    Import

    firewall_instance_association can be imported using the vpc_id, firenet_gw_name and instance_id in the form vpc_id~~firenet_gw_name~~instance_id e.g.

     $ pulumi import aviatrix:index/aviatrixFirewallInstanceAssociation:AviatrixFirewallInstanceAssociation test vpc_id~~firenet_gw_name~~instance_id
    

    When using a Native GWLB VPC where there is no firenet_gw_name but the ID is in the same form e.g.

     $ pulumi import aviatrix:index/aviatrixFirewallInstanceAssociation:AviatrixFirewallInstanceAssociation test vpc_id~~~~instance_id
    

    Package Details

    Repository
    aviatrix astipkovits/pulumi-aviatrix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aviatrix Terraform Provider.
    aviatrix logo
    Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix