Skip to content
Docs

    Networking

    NetworkingVPCs

    resource nirvana_networking_vpc

    required Expand Collapse
    project_id: String

    Project ID the VPC belongs to.

    region: String

    Region the resource is in.

    name: String

    Name of the VPC.

    subnet_name: String

    Name of the subnet to create.

    optional Expand Collapse
    tags?: List[String]

    Tags to attach to the VPC.

    computed Expand Collapse
    id: String

    Unique identifier for the Operation.

    created_at: Time

    When the VPC was created.

    kind: String

    Kind of Operation.

    resource_id: String

    ID of the resource that the Operation is acting on.

    status: String

    Status of the resource.

    type: String

    Type of Operation.

    updated_at: Time

    When the VPC was updated.

    firewall_rule_ids: List[String]

    IDs of the Firewall Rules associated with the VPC.

    details: Attributes

    Structured details about what an operation is changing.

    changes: Map[Attributes]

    Map of changed field names to their from/to diffs. Keys depend on the parent operation’s kind+type.

    from: String

    Previous value.

    to: String

    New value.

    subnet: Attributes

    Subnet of the VPC.

    id: String

    Unique identifier for the Subnet.

    cidr: String

    CIDR block for the Subnet.

    created_at: Time

    When the Subnet was created.

    name: String

    Name of the Subnet.

    updated_at: Time

    When the Subnet was updated.

    nirvana_networking_vpc

    resource "nirvana_networking_vpc" "example_networking_vpc" {
      name = "my-vpc"
      project_id = "123e4567-e89b-12d3-a456-426614174000"
      region = "us-sva-2"
      subnet_name = "my-subnet"
      tags = ["production", "ethereum"]
    }
    

    data nirvana_networking_vpc

    optional Expand Collapse
    vpc_id?: String
    find_one_by?: Attributes
    project_id: String

    Project ID of resources to request

    computed Expand Collapse
    id: String
    created_at: Time

    When the VPC was created.

    name: String

    Name of the VPC.

    project_id: String

    Project ID the VPC belongs to.

    region: String

    Region the resource is in.

    status: String

    Status of the resource.

    updated_at: Time

    When the VPC was updated.

    firewall_rule_ids: List[String]

    IDs of the Firewall Rules associated with the VPC.

    tags: List[String]

    Tags to attach to the VPC.

    subnet: Attributes

    Subnet of the VPC.

    id: String

    Unique identifier for the Subnet.

    cidr: String

    CIDR block for the Subnet.

    created_at: Time

    When the Subnet was created.

    name: String

    Name of the Subnet.

    updated_at: Time

    When the Subnet was updated.

    nirvana_networking_vpc

    data "nirvana_networking_vpc" "example_networking_vpc" {
      vpc_id = "vpc_id"
    }
    

    data nirvana_networking_vpcs

    required Expand Collapse
    project_id: String

    Project ID of resources to request

    optional Expand Collapse
    max_items?: Int64

    Max items to fetch, default: 1000

    computed Expand Collapse
    items: List[Attributes]

    The items returned by the data source

    id: String

    Unique identifier for the VPC.

    created_at: Time

    When the VPC was created.

    firewall_rule_ids: List[String]

    IDs of the Firewall Rules associated with the VPC.

    name: String

    Name of the VPC.

    project_id: String

    Project ID the VPC belongs to.

    region: String

    Region the resource is in.

    status: String

    Status of the resource.

    subnet: Attributes

    Subnet of the VPC.

    id: String

    Unique identifier for the Subnet.

    cidr: String

    CIDR block for the Subnet.

    created_at: Time

    When the Subnet was created.

    name: String

    Name of the Subnet.

    updated_at: Time

    When the Subnet was updated.

    tags: List[String]

    Tags to attach to the VPC.

    updated_at: Time

    When the VPC was updated.

    nirvana_networking_vpcs

    data "nirvana_networking_vpcs" "example_networking_vpcs" {
      project_id = "project_id"
    }
    

    NetworkingFirewall Rules

    resource nirvana_networking_firewall_rule

    required Expand Collapse
    vpc_id: String
    destination_address: String

    Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC. Must be in network-aligned/canonical form.

    name: String

    Name of the Firewall Rule.

    protocol: String

    Protocol of the Firewall Rule.

    source_address: String

    Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask of 0. Must be in network-aligned/canonical form.

    destination_ports: List[String]

    Destination ports of the Firewall Rule.

    optional Expand Collapse
    tags?: List[String]

    Tags to attach to the Firewall Rule.

    computed Expand Collapse
    id: String

    Unique identifier for the Operation.

    created_at: Time

    When the Firewall Rule was created.

    kind: String

    Kind of Operation.

    project_id: String

    Project ID the Operation belongs to.

    resource_id: String

    ID of the resource that the Operation is acting on.

    status: String

    Status of the resource.

    type: String

    Type of Operation.

    updated_at: Time

    When the Firewall Rule was updated.

    details: Attributes

    Structured details about what an operation is changing.

    changes: Map[Attributes]

    Map of changed field names to their from/to diffs. Keys depend on the parent operation’s kind+type.

    from: String

    Previous value.

    to: String

    New value.

    nirvana_networking_firewall_rule

    resource "nirvana_networking_firewall_rule" "example_networking_firewall_rule" {
      vpc_id = "vpc_id"
      destination_address = "10.0.0.0/25"
      destination_ports = ["22", "80", "443"]
      name = "my-firewall-rule"
      protocol = "tcp"
      source_address = "0.0.0.0/0"
      tags = ["production", "ethereum"]
    }
    

    data nirvana_networking_firewall_rule

    required Expand Collapse
    firewall_rule_id: String
    vpc_id: String
    computed Expand Collapse
    id: String
    created_at: Time

    When the Firewall Rule was created.

    destination_address: String

    Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.

    name: String

    Name of the Firewall Rule.

    protocol: String

    Protocol of the Firewall Rule.

    source_address: String

    Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask of 0.

    status: String

    Status of the resource.

    updated_at: Time

    When the Firewall Rule was updated.

    destination_ports: List[String]

    Destination ports of the Firewall Rule.

    tags: List[String]

    Tags to attach to the Firewall Rule.

    nirvana_networking_firewall_rule

    data "nirvana_networking_firewall_rule" "example_networking_firewall_rule" {
      vpc_id = "vpc_id"
      firewall_rule_id = "firewall_rule_id"
    }
    

    data nirvana_networking_firewall_rules

    required Expand Collapse
    vpc_id: String
    optional Expand Collapse
    max_items?: Int64

    Max items to fetch, default: 1000

    computed Expand Collapse
    items: List[Attributes]

    The items returned by the data source

    id: String

    Unique identifier for the Firewall Rule.

    created_at: Time

    When the Firewall Rule was created.

    destination_address: String

    Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.

    destination_ports: List[String]

    Destination ports of the Firewall Rule.

    name: String

    Name of the Firewall Rule.

    protocol: String

    Protocol of the Firewall Rule.

    source_address: String

    Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask of 0.

    status: String

    Status of the resource.

    tags: List[String]

    Tags to attach to the Firewall Rule.

    updated_at: Time

    When the Firewall Rule was updated.

    vpc_id: String

    ID of the VPC the Firewall Rule belongs to.

    nirvana_networking_firewall_rules

    data "nirvana_networking_firewall_rules" "example_networking_firewall_rules" {
      vpc_id = "vpc_id"
    }
    

    NetworkingConnectConnections

    resource nirvana_networking_connect_connection

    required Expand Collapse
    bandwidth_mbps: Int64

    Connect Connection speed in Mbps

    project_id: String

    Project ID the Connect Connection belongs to

    region: String

    Region the resource is in.

    cidrs: List[String]

    CIDRs for the Connect Connection. Must be in network-aligned/canonical form.

    provider_cidrs: List[String]

    Provider CIDRs. Must be in network-aligned/canonical form.

    name: String

    Name of the Connect Connection

    optional Expand Collapse
    aws?: Attributes

    AWS provider configuration

    account_id: String

    AWS account id

    region: String

    AWS region where the connection will be established

    tags?: List[String]

    Tags to attach to the Connect Connection

    computed Expand Collapse
    id: String

    Unique identifier for the Operation.

    asn: Int64

    ASN

    created_at: Time

    When the Connect Connection was created

    kind: String

    Kind of Operation.

    provider_asn: Int64

    Provider ASN

    provider_router_ip: String

    Provider Router IP for the Connect Connection

    resource_id: String

    ID of the resource that the Operation is acting on.

    router_ip: String

    Router IP

    status: String

    Status of the resource.

    type: String

    Type of Operation.

    updated_at: Time

    When the Connect Connection was updated

    details: Attributes

    Structured details about what an operation is changing.

    changes: Map[Attributes]

    Map of changed field names to their from/to diffs. Keys depend on the parent operation’s kind+type.

    from: String

    Previous value.

    to: String

    New value.

    nirvana_networking_connect_connection

    resource "nirvana_networking_connect_connection" "example_networking_connect_connection" {
      bandwidth_mbps = 50
      cidrs = ["10.0.0.0/16"]
      name = "my-connect-connection"
      project_id = "123e4567-e89b-12d3-a456-426614174000"
      provider_cidrs = ["172.16.0.0/16"]
      region = "us-sva-2"
      aws = {
        account_id = "523816707215"
        region = "us-east-1"
      }
      tags = ["production", "ethereum"]
    }
    

    data nirvana_networking_connect_connection

    optional Expand Collapse
    connection_id?: String
    find_one_by?: Attributes
    project_id: String

    Project ID of resources to request

    computed Expand Collapse
    id: String
    asn: Int64

    ASN

    bandwidth_mbps: Int64

    Connect Connection speed in Mbps

    created_at: Time

    When the Connect Connection was created

    name: String

    Name of the Connect Connection

    project_id: String

    Project ID the Connect Connection belongs to

    provider_asn: Int64

    Provider ASN

    provider_router_ip: String

    Provider Router IP for the Connect Connection

    region: String

    Region the resource is in.

    router_ip: String

    Router IP

    status: String

    Status of the resource.

    updated_at: Time

    When the Connect Connection was updated

    cidrs: List[String]

    CIDRs for the Connect Connection

    provider_cidrs: List[String]

    Provider CIDRs for the Connect Connection

    tags: List[String]

    Tags to attach to the Connect Connection

    aws: Attributes

    AWS provider configuration

    region: String

    AWS region where the connection is established

    nirvana_networking_connect_connection

    data "nirvana_networking_connect_connection" "example_networking_connect_connection" {
      connection_id = "connection_id"
    }
    

    data nirvana_networking_connect_connections

    required Expand Collapse
    project_id: String

    Project ID of resources to request

    optional Expand Collapse
    max_items?: Int64

    Max items to fetch, default: 1000

    computed Expand Collapse
    items: List[Attributes]

    The items returned by the data source

    id: String

    Unique identifier for the Connect Connection

    asn: Int64

    ASN

    aws: Attributes

    AWS provider configuration

    region: String

    AWS region where the connection is established

    bandwidth_mbps: Int64

    Connect Connection speed in Mbps

    cidrs: List[String]

    CIDRs for the Connect Connection

    created_at: Time

    When the Connect Connection was created

    name: String

    Name of the Connect Connection

    project_id: String

    Project ID the Connect Connection belongs to

    provider_asn: Int64

    Provider ASN

    provider_cidrs: List[String]

    Provider CIDRs for the Connect Connection

    provider_router_ip: String

    Provider Router IP for the Connect Connection

    region: String

    Region the resource is in.

    router_ip: String

    Router IP

    status: String

    Status of the resource.

    tags: List[String]

    Tags to attach to the Connect Connection

    updated_at: Time

    When the Connect Connection was updated

    nirvana_networking_connect_connections

    data "nirvana_networking_connect_connections" "example_networking_connect_connections" {
      project_id = "project_id"
    }