Skip to main content

Terraform Provider v2

The NetActuate Terraform provider v2 expands infrastructure-as-code support with 42 resources and 8 data sources covering VPC networking, managed Kubernetes, cloud routing, storage, firewalls, and secrets management.

What's New in v2

  • VPC Networking -- Private networks with gateways, NAT rules, floating IPs, and firewall rules
  • Managed Kubernetes (NKE) -- Deploy and manage Kubernetes clusters with version discovery and kubeconfig retrieval
  • Cloud Router -- Full-featured routers with VRF, BGP, IPSec, WireGuard, GRE tunnels, and DHCP
  • Storage -- S3-compatible buckets, object stores, and block storage volumes
  • Firewall -- Rule-based firewall sets attached to VMs
  • Secrets Management -- Encrypted key-value secret lists
  • Server Scaling -- In-place plan changes without reprovisioning
  • Magic Mesh -- Multi-router BGP overlay networking

Prerequisites

Quick Example

Deploy a VPC with a virtual server:

terraform {
required_providers {
netactuate = {
source = "netactuate/netactuate"
version = ">= 0.2.5"
}
}
}

provider "netactuate" {
api_key = var.netactuate_api_key
}

resource "netactuate_vpc" "main" {
label = "production"
description = "Production VPC"
location = "SJC"
}

resource "netactuate_server" "web" {
hostname = "web-01"
plan = "VR2x2x25"
location = "SJC"
image = "5787"
ssh_key_id = var.ssh_key_id
}

Note: Store your API key in a variable or environment variable. Do not hardcode it in your configuration files.

Documentation

PageDescription
Provider SetupInstallation, authentication, and provider arguments
Resources and Data SourcesFull reference of all 42 resources and 8 data sources
VPC DeploymentPrivate networking with NAT, firewalls, and floating IPs
VPC Load BalancersHTTP and network load balancing within a VPC
Managed Kubernetes (NKE)Deploy and manage Kubernetes clusters
Cloud RouterRouters with VRF, BGP, IPSec, WireGuard, and more
StorageS3 buckets, object stores, and block volumes
FirewallFirewall sets and rules for VMs
Secrets ManagementEncrypted key-value secret lists
Server ScalingIn-place plan changes via the ScaleServer API

GitHub Repositories

RepositoryDescription
netactuate-terraform-vpcVPC networking with NAT, firewalls, and floating IPs
netactuate-terraform-nkeManaged Kubernetes cluster deployment
netactuate-terraform-routerCloud router with VRF, BGP, and tunnels
netactuate-terraform-storageS3 buckets, object stores, and block storage
netactuate-terraform-firewallFirewall sets and rules
netactuate-terraform-secretsSecrets management
netactuate-ansible-terraform-computeCompute node provisioning (v1)
netactuate-ansible-bgp-bird2BGP sessions with BIRD2 (v1)

Note: The v1 Terraform provider documentation is still available at Terraform v1. The v2 provider is backwards-compatible with existing compute and BGP resources.

Need Help?

If you need assistance with Terraform v2, visit our support page.