From a163ad11952f247a5d8be5016e9caa1aa1ec1a85 Mon Sep 17 00:00:00 2001 From: ArseniiPetrovich Date: Thu, 28 Mar 2019 17:01:25 +0300 Subject: [PATCH] Move region variable to all variables --- README.md | 2 +- group_vars/all.yml.example | 3 +++ group_vars/infrastructure.yml.example | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 85faaab..1c98318 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ The single point of configuration in this script is a `group_vars/all.yml` file. - `bucket` represents a globally unique name of the bucket where your configs and state will be stored. It will be created automatically during the deployment; - `prefix` - is a unique tag to use for provisioned resources (5 alphanumeric chars or less); - `chains` - maps chains to the URLs of HTTP RPC endpoints, an ordinary blockchain node can be used; +- The `region` should be left at `us-east-1` as some of the other regions fail for different reasons; *Note*: a chain name shouldn't be more than 5 characters. Otherwise, it causing the error, because the aws load balancer name should not be greater than 32 characters. @@ -89,7 +90,6 @@ The single point of configuration in this script is a `group_vars/all.yml` file. * If `use_ssl` is set to `false`, SSL will be forced on Blockscout. To configure SSL, use `alb_ssl_policy` and `alb_certificate_arn` variables; -- The `region` should be left at `us-east-1` as some of the other regions fail for different reasons; - The `root_block_size` is the amount of storage on your EC2 instance. This value can be adjusted by how frequently logs are rotated. Logs are located in `/opt/app/logs` of your EC2 instance; - The `pool_size` defines the number of connections allowed by the RDS instance; - `secret_key_base` is a random password used for BlockScout internally. It is highly recommended to gernerate your own `secret_key_base` before the deployment. For instance, you can do it via `openssl rand -base64 64 | tr -d '\n'` command; diff --git a/group_vars/all.yml.example b/group_vars/all.yml.example index cbf44e7..d6eb6d3 100644 --- a/group_vars/all.yml.example +++ b/group_vars/all.yml.example @@ -20,3 +20,6 @@ prefix: "sokol" chains: core: "http://10.10.10.10:8545" sokol: "https://192.168.0.1:8545" + +## Region. It is recommended to deploy to us-east-1 as some of the other regions fails due to varied reasons +region: "us-east-1" \ No newline at end of file diff --git a/group_vars/infrastructure.yml.example b/group_vars/infrastructure.yml.example index 265c63e..a15dc48 100644 --- a/group_vars/infrastructure.yml.example +++ b/group_vars/infrastructure.yml.example @@ -26,9 +26,6 @@ use_ssl: "false" alb_ssl_policy: "ELBSecurityPolicy-2016-08" alb_certificate_arn: "arn:aws:acm:us-east-1:290379793816:certificate/6d1bab74-fb46-4244-aab2-832bf519ab24" -## Region. It is recommended to deploy to us-east-1 as some of the other regions fails due to varied reasons -region: "us-east-1" - ## Size of the EC2 instance EBS root volume root_block_size: 120