Initial commit - realms platform

This commit is contained in:
doomtube 2026-01-05 22:54:27 -05:00
parent c590ab6d18
commit c717c3751c
234 changed files with 74103 additions and 15231 deletions

View file

@ -0,0 +1,10 @@
# =============================================================================
# VPC Resource
# =============================================================================
resource "digitalocean_vpc" "main" {
name = var.name
region = var.region
ip_range = var.ip_range
description = var.description
}

View file

@ -0,0 +1,14 @@
output "vpc_id" {
description = "ID of the VPC"
value = digitalocean_vpc.main.id
}
output "vpc_urn" {
description = "URN of the VPC"
value = digitalocean_vpc.main.urn
}
output "vpc_ip_range" {
description = "IP range of the VPC"
value = digitalocean_vpc.main.ip_range
}

View file

@ -0,0 +1,20 @@
variable "name" {
description = "Name of the VPC"
type = string
}
variable "region" {
description = "DigitalOcean region"
type = string
}
variable "ip_range" {
description = "IP range for the VPC (CIDR notation)"
type = string
}
variable "description" {
description = "Description of the VPC"
type = string
default = ""
}

View file

@ -0,0 +1,8 @@
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = ">= 2.34"
}
}
}