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
| Page | Description |
|---|---|
| Provider Setup | Installation, authentication, and provider arguments |
| Resources and Data Sources | Full reference of all 42 resources and 8 data sources |
| VPC Deployment | Private networking with NAT, firewalls, and floating IPs |
| VPC Load Balancers | HTTP and network load balancing within a VPC |
| Managed Kubernetes (NKE) | Deploy and manage Kubernetes clusters |
| Cloud Router | Routers with VRF, BGP, IPSec, WireGuard, and more |
| Storage | S3 buckets, object stores, and block volumes |
| Firewall | Firewall sets and rules for VMs |
| Secrets Management | Encrypted key-value secret lists |
| Server Scaling | In-place plan changes via the ScaleServer API |
GitHub Repositories
| Repository | Description |
|---|---|
| netactuate-terraform-vpc | VPC networking with NAT, firewalls, and floating IPs |
| netactuate-terraform-nke | Managed Kubernetes cluster deployment |
| netactuate-terraform-router | Cloud router with VRF, BGP, and tunnels |
| netactuate-terraform-storage | S3 buckets, object stores, and block storage |
| netactuate-terraform-firewall | Firewall sets and rules |
| netactuate-terraform-secrets | Secrets management |
| netactuate-ansible-terraform-compute | Compute node provisioning (v1) |
| netactuate-ansible-bgp-bird2 | BGP 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.