- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
# Terraform variables optimized for current quota constraints
|
||
# Using smaller VM sizes to fit within available quota
|
||
|
||
# Environment
|
||
environment = "prod"
|
||
|
||
# Azure Configuration
|
||
location = "westeurope"
|
||
|
||
# Cluster Configuration
|
||
cluster_name = ""
|
||
kubernetes_version = "1.28" # Fixed: 1.33 is invalid, using supported version
|
||
|
||
# Node Configuration - Optimized for Quota
|
||
# Using 1 vCPU VMs to maximize node count within quota
|
||
node_count = {
|
||
system = 1 # System nodes (1 vCPU each)
|
||
validators = 2 # Validator nodes (1 vCPU each) = 2 vCPUs
|
||
sentries = 1 # Sentry nodes (1 vCPU each) = 1 vCPU
|
||
rpc = 1 # RPC nodes (1 vCPU each) = 1 vCPU
|
||
}
|
||
# Total: 1 + 2 + 1 + 1 = 5 nodes × 1 vCPU = 5 vCPUs
|
||
# Current usage: 3 nodes × 2 vCPUs = 6 vCPUs
|
||
# Available: 4 vCPUs
|
||
# New total: 6 + 5 = 11 vCPUs (need 1 more, but can reduce system to 0 or use existing)
|
||
|
||
# VM Sizes - Using 1 vCPU VMs
|
||
vm_size = {
|
||
system = "Standard_B1ms" # 1 vCPU, 2GB RAM - Burstable
|
||
validators = "Standard_B1ms" # 1 vCPU, 2GB RAM - Burstable
|
||
sentries = "Standard_B1ms" # 1 vCPU, 2GB RAM - Burstable
|
||
rpc = "Standard_B1ms" # 1 vCPU, 2GB RAM - Burstable
|
||
}
|
||
|
||
# Alternative: Use existing nodes and add only what fits
|
||
# Option: Keep system pool, add only validators (2 × 1 vCPU = 2 vCPUs)
|
||
# This fits within 4 available vCPUs
|
||
|
||
# Resource Group Configuration
|
||
resource_group_name = ""
|
||
use_well_architected = false
|
||
|
||
# Key Vault Configuration
|
||
key_vault_name = ""
|
||
|
||
# Tags
|
||
tags = {
|
||
Environment = "production"
|
||
Project = "DeFi Oracle Meta Mainnet"
|
||
ChainID = "138"
|
||
ManagedBy = "Terraform"
|
||
CostCenter = "Blockchain"
|
||
Owner = "DevOps Team"
|
||
}
|
||
|
||
node_subnet_id = "/subscriptions/fc08d829-4f14-413d-ab27-ce024425db0b/resourceGroups/az-p-we-rg-net-001/providers/Microsoft.Network/virtualNetworks/az-p-we-vnet-main/subnets/az-p-we-snet-aks"
|