This module creates the necessary infrastructure for a load balanced endpoint for Polkadot nodes running on Azure.
For Terraform v0.12.0+
resource "azurerm_resource_group" "this" {
location = "eastus"
name = "resource-group-name"
}
module "this" {
source = "github.com/insight-w3f/terraform-polkadot-azure-api-lb"
azure_resource_group_name = azurerm_resource_group.this.name
}
No issue is creating limit on this module.
Name | Version |
---|---|
azurerm | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
azure_resource_group_name | Name of Azure Resource Group | string |
n/a | yes |
network_name | The network name, ie kusama / mainnet | string |
"" |
no |
region | The Azure region to deploy in | string |
"eastus" |
no |
subnet_id | Subnet ID to deploy load balancer into | string |
"" |
no |
tags | Tags in the form of key value pairs to associate with resources | map(string) |
{} |
no |
use_external_lb | Bool to switch between public (true) or private (false) | bool |
true |
no |
Name | Description |
---|---|
lb_backend_pool_id | n/a |
lb_endpoint_ip | n/a |
lb_frontend_ip_config_name | n/a |
lb_health_probe_id | n/a |
lb_id | n/a |
lb_rpc_rule_id | n/a |
This module has been packaged with terratest tests
To run them:
- Install Go
- Run
make test-init
from the root of this repo - Run
make test
again from root
Module managed by Richard Mah
Apache 2 Licensed. See LICENSE for full details.