chainlinknode

avinava-mycelium/chainlinknode/gcp

Terraform Module HCL GCP

Terraform module to setup Chainlink Nodes

Install
module "chainlinknode" {
source = "avinava-mycelium/chainlinknode/gcp"
version = "1.0.12"
}
plain text: /constructs/tfmod-avinava-mycelium-chainlinknode-gcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform module for Chainlink nodes This module is used to create GCP resources to support Chainlink IAC setups. Usage implementation See the chainlink nodes for a usage example. ``hcl module "chainlinknode" { source = "avinava-mycelium/chainlinknode/gcp" version = "1.0.11" # Use latest version for Apple Silicon compatibility # Required variables project_id = var.project_id machine_type = var.machine_type node_name = var.node_name node_type = var.node_type boot_disk_size = var.boot_disk_size } ` Apple Silicon (M1/M2) Compatibility This module is fully compatible with Apple Silicon Macs starting from version 1.0.11. If you're using an M1/M2 Mac, make sure to use version 1.0.11 or later to avoid the deprecated template provider compatibility issues. Release Process Version Numbering This mo

Inputs (25)
NameTypeDescriptionDefault
project_idstringThe gcp project ID where the resources need to be deployed required
machine_typestringCPU and Memory speicifcations for VM instance required
node_typestringType of the chainlink node. Can be OCR, FM , Keeper required
node_namestringChainlink node name. Eg xdai.heco, bsc etc required
startup_script_suffixstringscript name suffix"startup.sh"
regionstringRegion inside GCP where resources need to be deployed"us-central1"
networkstringVirtual Private Cloud to host the chainlink resources"default"
image_projectstringGCP image project"cos-cloud"
node_countstringNumber of the chainlink node running"1"
node_sourcestringChainlink as the source of the node."cl"
zonestringSpecific zone inside GCP region where resources need to be deployed"us-central1-a"
service_account_scopestringService account scope"cloud-platform"
service_account_versionstringService account version"1"
ext_address_typestringType of address the VM instance. Can be internal or external."EXTERNAL"
address_tierstringTier type for the address to be allocated to the chainlink node"PREMIUM"
startup_script_prefixstringPrivate bucket in GCP to store the startup script for the chainlink application"gs://myc-node/cl/cl-metadata-script/"
is_gen_startup_scriptboolboolean to check if we want to go with particular script or generic onefalse
network_tagstringFirewall rules for chainlink nodes"fw-sb-node-chainlink"
boot_disk_sizestringDisk size for the chainlink node"10"
service_account_namestringService account name"CL_Service_Account"
vm_startup_scriptstringGeneric startup script for VM"gs://myc-infra-scripts/startup-scripts/
subnetworkstringSubnet CIDR for the chainlink nodes"sb-nodes-chainlink"
boot_disk_typestringPersistent SSD disk type for VM instance"pd-ssd"
image_familystringGCP image family"cos-stable"
Outputs (8)
external_ip_addresses — The external static IP address of the node
external_ip_names — The external static IP name of the node
internal_ip_addresses — The internal static IP address of the node
internal_ip_names — The internal static IP name of the node
instance_name — The name of the VM instance holding the node
disk_name — The boot disk name of the node
disk_size — The disk size allocated to the node
gcs_startup_script — The private bucket location for the startup script of the node
Resources (1)
google_compute_instance
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.12
Cloud GCP
★ Stars2
Forks0
Total downloads3.8k
Inputs25
Outputs8
Resources1
Namespaceavinava-mycelium
Updated