From 0d5bc8130df89fb53218775a1e8b5883432fa815 Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Mon, 24 Sep 2018 22:33:22 -0400 Subject: [PATCH] Fix readme and update terraform example --- README.md | 28 +++------------------------- terraform.tfvars.example | 29 +---------------------------- 2 files changed, 4 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index a415b52..6c5448f 100644 --- a/README.md +++ b/README.md @@ -126,36 +126,14 @@ root_block_size = 120 ## Defining Chains/Adding Chains -The default of this repo is to build infra for the `sokol` chain, but you may not want that, or want a different set, so you need to -`cp terraform.tfvars.example terraform.tfvars` and edit the following configuration: +The default of this repo is to build infra for the `sokol` chain, but you may not want that, or want a different set, so you need to create/edit `terraform.tfvars` or `user.auto.tfvars` and add the following configuration: ```terraform chains = { - "sokol" = "https://sokol.poa.network" + "mychain" = "url/to/endpoint" } chain_trace_endpoints = { - "sokol" = "https://sokol-trace.poa.network" -} -chain_ws_endpoints = { - "sokol" = "wss://sokol-ws.poa.network/ws" -} -chain_logo = { - "sokol" = "/images/sokol_logo.svg" -} -chain_css_file = { - "sokol" = "sokol_variables" -} -chain_check_origin = { - "sokol" = "['//*.blockscout.com']" -} -chain_coin = { - "sokol" = "POA" -} -chain_network = { - "sokol" = "POA Network" -} -chain_subnetwork = { - "sokol" = "Sokol Testnet" + "mychain" = "url/to/debug/endpoint/or/the/main/chain/endpoint" } ``` diff --git a/terraform.tfvars.example b/terraform.tfvars.example index 56148a6..eb9dfee 100644 --- a/terraform.tfvars.example +++ b/terraform.tfvars.example @@ -8,31 +8,4 @@ db_instance_class = "db.m4.xlarge" db_storage = "120" alb_ssl_policy = "ELBSecurityPolicy-2016-08" alb_certificate_arn = "arn:aws:acm:us-east-1:290379793816:certificate/6d1bab74-fb46-4244-aab2-832bf519ab24" -root_block_size = 120 -chains = { - "sokol" = "https://sokol.poa.network" -} -chain_trace_endpoints = { - "sokol" = "https://sokol-trace.poa.network" -} -chain_ws_endpoints = { - "sokol" = "wss://sokol-ws.poa.network/ws" -} -chain_logo = { - "sokol" = "/images/sokol_logo.svg" -} -chain_css_file = { - "sokol" = "sokol_variables" -} -chain_check_origin = { - "sokol" = "['//*.blockscout.com']" -} -chain_coin = { - "sokol" = "POA" -} -chain_network = { - "sokol" = "POA Network" -} -chain_subnetwork = { - "sokol" = "Sokol Testnet" -} \ No newline at end of file +root_block_size = 120 \ No newline at end of file