- 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.
113 lines
2.2 KiB
HCL
113 lines
2.2 KiB
HCL
# Variables for VM Deployment Module
|
|
|
|
variable "resource_group_name" {
|
|
description = "Name of the resource group"
|
|
type = string
|
|
}
|
|
|
|
variable "location" {
|
|
description = "Azure region"
|
|
type = string
|
|
}
|
|
|
|
variable "cluster_name" {
|
|
description = "Name of the Besu network cluster"
|
|
type = string
|
|
}
|
|
|
|
variable "node_type" {
|
|
description = "Type of node (validator, sentry, rpc)"
|
|
type = string
|
|
}
|
|
|
|
variable "node_count" {
|
|
description = "Number of nodes"
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "vm_size" {
|
|
description = "VM size"
|
|
type = string
|
|
default = "Standard_D4s_v3"
|
|
}
|
|
|
|
variable "admin_username" {
|
|
description = "Admin username for VMs"
|
|
type = string
|
|
default = "besuadmin"
|
|
}
|
|
|
|
variable "ssh_public_key" {
|
|
description = "SSH public key for VM access"
|
|
type = string
|
|
}
|
|
|
|
variable "use_scale_set" {
|
|
description = "Use VM Scale Set instead of individual VMs"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "subnet_id" {
|
|
description = "Subnet ID for VMs"
|
|
type = string
|
|
}
|
|
|
|
variable "storage_account_name" {
|
|
description = "Storage account name for boot diagnostics"
|
|
type = string
|
|
}
|
|
|
|
variable "key_vault_id" {
|
|
description = "Key Vault ID for secrets"
|
|
type = string
|
|
}
|
|
|
|
variable "genesis_file_path" {
|
|
description = "Path to genesis file in storage"
|
|
type = string
|
|
}
|
|
|
|
variable "network_security_group_id" {
|
|
description = "Network Security Group ID"
|
|
type = string
|
|
}
|
|
|
|
variable "tags" {
|
|
description = "Tags for resources"
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "storage_account_type" {
|
|
description = "Storage account type for VM disks"
|
|
type = string
|
|
default = "Premium_LRS"
|
|
}
|
|
|
|
variable "disk_size_gb" {
|
|
description = "Disk size in GB"
|
|
type = number
|
|
default = 256
|
|
}
|
|
|
|
variable "vm_enable_boot_diagnostics" {
|
|
description = "Enable boot diagnostics for VMs"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "vm_enable_managed_identity" {
|
|
description = "Enable Managed Identity for VMs"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "use_phase1_cloud_init" {
|
|
description = "Use Phase 1 cloud-init (includes NVM, Node 22 LTS, JDK 17)"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|