aviatrix.AviatrixFirewallInstanceAssociation
Explore with Pulumi AI
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixFirewallInstanceAssociation(name: string, args: AviatrixFirewallInstanceAssociationArgs, opts?: CustomResourceOptions);
@overload
def AviatrixFirewallInstanceAssociation(resource_name: str,
args: AviatrixFirewallInstanceAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixFirewallInstanceAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
vpc_id: Optional[str] = None,
attached: Optional[bool] = None,
egress_interface: Optional[str] = None,
firenet_gw_name: Optional[str] = None,
firewall_name: Optional[str] = None,
lan_interface: Optional[str] = None,
management_interface: Optional[str] = None,
vendor_type: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var aviatrixFirewallInstanceAssociationResource = new Aviatrix.AviatrixFirewallInstanceAssociation("aviatrixFirewallInstanceAssociationResource", new()
{
InstanceId = "string",
VpcId = "string",
Attached = false,
EgressInterface = "string",
FirenetGwName = "string",
FirewallName = "string",
LanInterface = "string",
ManagementInterface = "string",
VendorType = "string",
});
example, err := aviatrix.NewAviatrixFirewallInstanceAssociation(ctx, "aviatrixFirewallInstanceAssociationResource", &aviatrix.AviatrixFirewallInstanceAssociationArgs{
InstanceId: pulumi.String("string"),
VpcId: pulumi.String("string"),
Attached: pulumi.Bool(false),
EgressInterface: pulumi.String("string"),
FirenetGwName: pulumi.String("string"),
FirewallName: pulumi.String("string"),
LanInterface: pulumi.String("string"),
ManagementInterface: pulumi.String("string"),
VendorType: pulumi.String("string"),
})
var aviatrixFirewallInstanceAssociationResource = new AviatrixFirewallInstanceAssociation("aviatrixFirewallInstanceAssociationResource", AviatrixFirewallInstanceAssociationArgs.builder()
.instanceId("string")
.vpcId("string")
.attached(false)
.egressInterface("string")
.firenetGwName("string")
.firewallName("string")
.lanInterface("string")
.managementInterface("string")
.vendorType("string")
.build());
aviatrix_firewall_instance_association_resource = aviatrix.AviatrixFirewallInstanceAssociation("aviatrixFirewallInstanceAssociationResource",
instance_id="string",
vpc_id="string",
attached=False,
egress_interface="string",
firenet_gw_name="string",
firewall_name="string",
lan_interface="string",
management_interface="string",
vendor_type="string")
const aviatrixFirewallInstanceAssociationResource = new aviatrix.AviatrixFirewallInstanceAssociation("aviatrixFirewallInstanceAssociationResource", {
instanceId: "string",
vpcId: "string",
attached: false,
egressInterface: "string",
firenetGwName: "string",
firewallName: "string",
lanInterface: "string",
managementInterface: "string",
vendorType: "string",
});
type: aviatrix:AviatrixFirewallInstanceAssociation
properties:
attached: false
egressInterface: string
firenetGwName: string
firewallName: string
instanceId: string
lanInterface: string
managementInterface: string
vendorType: string
vpcId: string
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:
- Instance
Id string - ID of Firewall instance.
- Vpc
Id 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 string - Egress interface ID. Required if it is a firewall instance.
- Firenet
Gw stringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- Firewall
Name string - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- Lan
Interface string - Lan interface ID. Required if it is a firewall instance.
- Management
Interface string - Management interface ID. Required if it is a firewall instance.
- Vendor
Type string - Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
- Instance
Id string - ID of Firewall instance.
- Vpc
Id 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 string - Egress interface ID. Required if it is a firewall instance.
- Firenet
Gw stringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- Firewall
Name string - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- Lan
Interface string - Lan interface ID. Required if it is a firewall instance.
- Management
Interface string - Management interface ID. Required if it is a firewall instance.
- Vendor
Type string - Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
- instance
Id String - ID of Firewall instance.
- vpc
Id 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.
- egress
Interface String - Egress interface ID. Required if it is a firewall instance.
- firenet
Gw StringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- firewall
Name String - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- lan
Interface String - Lan interface ID. Required if it is a firewall instance.
- management
Interface String - Management interface ID. Required if it is a firewall instance.
- vendor
Type String - Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
- instance
Id string - ID of Firewall instance.
- vpc
Id 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.
- egress
Interface string - Egress interface ID. Required if it is a firewall instance.
- firenet
Gw stringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- firewall
Name string - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- lan
Interface string - Lan interface ID. Required if it is a firewall instance.
- management
Interface string - Management interface ID. Required if it is a firewall instance.
- vendor
Type 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_ strname - 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.
- instance
Id String - ID of Firewall instance.
- vpc
Id 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.
- egress
Interface String - Egress interface ID. Required if it is a firewall instance.
- firenet
Gw StringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- firewall
Name String - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- lan
Interface String - Lan interface ID. Required if it is a firewall instance.
- management
Interface String - Management interface ID. Required if it is a firewall instance.
- vendor
Type 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.
- Attached bool
- Switch to attach/detach firewall instance to/from FireNet. Valid values: true, false. Default value: false.
- Egress
Interface string - Egress interface ID. Required if it is a firewall instance.
- Firenet
Gw stringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- Firewall
Name string - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- Instance
Id string - ID of Firewall instance.
- Lan
Interface string - Lan interface ID. Required if it is a firewall instance.
- Management
Interface string - Management interface ID. Required if it is a firewall instance.
- Vendor
Type string - Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
- Vpc
Id 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 string - Egress interface ID. Required if it is a firewall instance.
- Firenet
Gw stringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- Firewall
Name string - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- Instance
Id string - ID of Firewall instance.
- Lan
Interface string - Lan interface ID. Required if it is a firewall instance.
- Management
Interface string - Management interface ID. Required if it is a firewall instance.
- Vendor
Type string - Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
- Vpc
Id 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.
- egress
Interface String - Egress interface ID. Required if it is a firewall instance.
- firenet
Gw StringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- firewall
Name String - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- instance
Id String - ID of Firewall instance.
- lan
Interface String - Lan interface ID. Required if it is a firewall instance.
- management
Interface String - Management interface ID. Required if it is a firewall instance.
- vendor
Type String - Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
- vpc
Id 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.
- egress
Interface string - Egress interface ID. Required if it is a firewall instance.
- firenet
Gw stringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- firewall
Name string - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- instance
Id string - ID of Firewall instance.
- lan
Interface string - Lan interface ID. Required if it is a firewall instance.
- management
Interface string - Management interface ID. Required if it is a firewall instance.
- vendor
Type string - Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
- vpc
Id 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_ strname - 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.
- egress
Interface String - Egress interface ID. Required if it is a firewall instance.
- firenet
Gw StringName - Name of the primary FireNet gateway. Required for FireNet without Native GWLB VPC.
- firewall
Name String - Firewall instance name. Required for non-GCP firewall instance. For GCP, this field should not be set.
- instance
Id String - ID of Firewall instance.
- lan
Interface String - Lan interface ID. Required if it is a firewall instance.
- management
Interface String - Management interface ID. Required if it is a firewall instance.
- vendor
Type String - Type of firewall. Valid values: "Generic", "fqdn_gateway". Default value: "Generic". Value "fqdn_gateway" is required for FQDN gateway.
- vpc
Id 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- aviatrix astipkovits/pulumi-aviatrix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aviatrix
Terraform Provider.