Skip to main content

VPC

Provides an e2e vpc resource. This resource allows you to manage vpc on your e2e clusters. When applied, a new vpc is created. When destroyed, this vpc is removed.

Example Usage

 resource "e2e_vpc" "vpc1" {
vpc_name = "vpc_name"
location = "Delhi"
project_id = "12345" # Replace with your actual project ID
ipv4 = "192.168.1.0/24" # Replace this with IPv4 CIDR block you want to add
}

Schema

Required

  • location (String) location should specified
  • vpc_name (String)
  • project_id (Required) (String) The ID of the project associated with the vpc
  • ipv4 (String) The IPv4 CIDR block to use for this VPC, e.g., 192.168.1.0/24.

Read-Only

  • created_at (String)
  • gateway_ip (String)
  • id (String) The ID of this resource.
  • ipv4_cidr (String)
  • is_active (Boolean)
  • network_id (Number) The id of network
  • pool_size (Number)
  • state (String)