Networking
NetworkingVPCs
resource nirvana_networking_vpc
required
computed
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
computed
nirvana_networking_vpc
data "nirvana_networking_vpc" "example_networking_vpc" {
vpc_id = "vpc_id"
}
NetworkingFirewall Rules
resource nirvana_networking_firewall_rule
required
computed
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
nirvana_networking_firewall_rule
data "nirvana_networking_firewall_rule" "example_networking_firewall_rule" {
vpc_id = "vpc_id"
firewall_rule_id = "firewall_rule_id"
}
NetworkingConnectConnections
resource nirvana_networking_connect_connection
required
computed
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
computed
nirvana_networking_connect_connection
data "nirvana_networking_connect_connection" "example_networking_connect_connection" {
connection_id = "connection_id"
}
data nirvana_networking_connect_connections
nirvana_networking_connect_connections
data "nirvana_networking_connect_connections" "example_networking_connect_connections" {
project_id = "project_id"
}