Skip to content

insight-w3f/terraform-polkadot-do-node

Repository files navigation

terraform-polkadot-do-node

open-issues open-pr build-status

Features

This module...

Terraform Versions

For Terraform v0.12.0+

Usage

module "this" {
    source = "github.com/insight-w3f/terraform-polkadot-do-node"

}

Examples

Known Issues

No issue is creating limit on this module.

Requirements

No requirements.

Providers

Name Version
digitalocean n/a

Inputs

Name Description Type Default Required
create Boolean to make module or not bool true no
create_eip Boolean to create elastic IP bool false no
environment The environment string "" no
eph_volume_size Ephemeral volume size string 0 no
instance_type Instance type string "g-2vcpu-8gb" no
logging_filter String for polkadot logging filter string "sync=trace,afg=trace,babe=debug" no
monitoring Boolean for cloudwatch bool false no
namespace The namespace to deploy into string "" no
network_name The network name, ie kusama / mainnet string "" no
node_exporter_password Password for node exporter string "node_exporter_password" no
node_exporter_user User for node exporter string "node_exporter_user" no
node_name Name of the node string "" no
owner Owner of the infrastructure string "" no
private_key_path The path to the private ssh key string "" no
project Name of the project for node name string "project" no
public_key_path The path to the public ssh key string "" no
region The DO region to deploy in string "nyc1" no
relay_node_ip Internal IP of Polkadot relay node string "" no
relay_node_p2p_address P2P address of Polkadot relay node string "" no
root_volume_size Root volume size string 0 no
security_group_id The id of the security group to run in string n/a yes
stage The stage of the deployment string "" no
telemetry_url WSS URL for telemetry string "wss://mi.private.telemetry.backend/" no

Outputs

Name Description
instance_id n/a

Testing

This module has been packaged with terratest tests

To run them:

  1. Install Go
  2. Run make test-init from the root of this repo
  3. Run make test again from root

Authors

Module managed by shinyfoil

Credits

License

Apache 2 Licensed. See LICENSE for full details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published