This repository contains terraform code examples for the ZEDEDA provider.
- ✅ 1-Infra-sjf.tf - contains the ZEDEDA elements which tend to be more static in nature. Projects, Images, Datastores, EVE Images, Networks (For EVE management)
- ✅ 2-Brand_Models.tf - shows how to create Brands and Models for hardware needed in the Models marketplace.
- ✅ 3-EdgeNodes.tf - Creates the edge nodes - required so when they phone home a matching entry exists to allow onboarding.
- ✅ 4-NetworkInstances.tf - Shows how to create both Switch & Local (L3) type of Network Instances where workloads will connect.
- ✅ 5-Apps-sjc.tf - Where you define applications to populate the ZEDEDA Marketplace. Includes: sizing, type, Interfaces, Disks, ... and ACLs.
- ✅ 6-Instance-Deploy-sjf.tf - Terraform code used to deploy the VMs and Containers. Includes: Edge node where to deploy, Network Instances to connect interfaces, cloud-init to use,
┌─────────────────────────────┐
│ ZEDEDA Cloud │
│ (Control & Management) │
└─────────────┬───────────────┘
│ Secure Control Plane (API, ZCLI, Terraform)
┌─────────────▼───────────────┐
│ EVE-OS │
│ (Secure Edge Runtime) │
├─────────────┬───────────────┤
│ VMs │ Containers │
│ K8s │ AI / CV Apps │
└─────────────┴───────────────┘
│
Edge Networks / VLANs
│
Cameras • Sensors • PLCs
.
├── 1-Infra-sjc.tf
├── 2-Brand_Models.tf
├── 3-EdgeNodes-sjc.tf
├── 4-NetworkInstances-sjc.tf
├── 5-Apps-sjc.tf
├── 6-Instances-Deploy-sjc.tf
├── cloud-init-samples
│ ├── cisco-config-sample.txt
│ ├── container-sample.txt
│ ├── ubuntu-24-sample.txt
│ └── win-2025-sample.txt
├── provider.tf
├── variables.tf
└── versions.tf- ZEDEDA account
- Terraform ≥ 1.5
- Edge hardware or virtual EVE node
- ZEDEDA Terraform provider configured
* You must tweak the files to reflect your declared state.
terraform init
terraform plan
terraform apply- Virtual Machines (Linux / Windows)
- Containers (Docker / OCI)
- Kubernetes (single & multi-node) - TBD
- ZEDEDA is hardware agnostic and supports x86, ARM, RISC(limited)
- Sample server hardware model shown & w/ SR-IOV
- Intel NUC Model shown
- Virtual EVE nodes (KVM)
- ZEDEDA Documentation: https://docs.zededa.com
- EVE-OS: https://github.com/lf-edge/eve
- Terraform Provider: https://registry.terraform.io/providers/zededa/zedcloud
Contributions, issues, and discussions are welcome.
If you’re using this repo for a demo or PoC, fork it and adapt freely.
Apache 2.0 — see LICENSE file for details.
Built for the Edge. Designed for Scale. Secured by Default.