Files
smom-dbis-138/terraform/modules/cacti/main.tf

55 lines
1.2 KiB
Terraform
Raw Normal View History

# Cacti Module for Terraform
# Deploys Hyperledger Cacti on Kubernetes
variable "namespace" {
description = "Kubernetes namespace for Cacti"
type = string
default = "cacti"
}
variable "cactus_api_image" {
description = "Cactus API Docker image"
type = string
default = "ghcr.io/hyperledger/cactus-cmd-api-server:v2.0.0"
}
variable "besu_connector_image" {
description = "Cactus Besu connector Docker image"
type = string
default = "ghcr.io/hyperledger/cactus-plugin-ledger-connector-besu:v2.0.0"
}
variable "besu_rpc_url" {
description = "Besu RPC URL"
type = string
}
variable "besu_ws_url" {
description = "Besu WebSocket URL"
type = string
}
variable "chain_id" {
description = "Chain ID"
type = number
default = 138
}
variable "cactus_api_url" {
description = "Cactus API URL"
type = string
default = "http://cactus-api:4000"
}
# Note: This module would use Kubernetes provider to create resources
# For Terraform, we'll create the manifests and apply them via kubectl
output "cactus_namespace" {
value = var.namespace
}
output "cactus_api_url" {
value = var.cactus_api_url
}