terraform: update module variable naming

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-10-20 19:44:37 +02:00
parent 01bdcd1b50
commit d6700d9fa1
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
4 changed files with 10 additions and 10 deletions

View File

@ -11,7 +11,7 @@
- name: infra-role-bootstrap-linux
src: git@github.com:status-im/infra-role-bootstrap-linux.git
version: 98eb568531985023475f94e3278459d2534a9cfe
version: dc060de82cbf07dac570c8be2214fe2c250115a2
scm: git
- name: infra-role-wireguard

View File

@ -4,7 +4,7 @@ go_waku_service_path: '/docker/{{ go_waku_service_name }}'
go_waku_cont_name: '{{ go_waku_service_name }}-node'
go_waku_cont_vol: '{{ go_waku_service_path }}/node'
go_waku_cont_tag: latest
go_waku_cont_tag: 'latest'
go_waku_cont_image: 'statusteam/go-waku:{{ go_waku_cont_tag }}'
# Value for private node key which is used to create public enode key

View File

@ -1,4 +1,4 @@
module "nim_hosts" {
module "hosts" {
source = "github.com/status-im/infra-tf-multi-provider"
/* node type */
@ -10,10 +10,10 @@ module "nim_hosts" {
/* scaling */
host_count = local.ws["hosts_count"]
/* instance sizes */
do_size = local.ws["do_size"] /* DigitalOcean */
ac_size = local.ws["ac_size"] /* Alibaba Cloud */
gc_size = local.ws["gc_size"] /* Google Cloud */
/* instance types */
do_type = local.ws["do_type"] /* DigitalOcean */
ac_type = local.ws["ac_type"] /* Alibaba Cloud */
gc_type = local.ws["gc_type"] /* Google Cloud */
/* firewall */
open_tcp_ports = [

View File

@ -14,9 +14,9 @@ locals {
env = "go-waku"
stage = terraform.workspace
do_size = "s-1vcpu-1gb" /* DigitalOcean */
ac_size = "ecs.t5-lc1m1.small" /* Alibaba Cloud */
gc_size = "g1-small" /* Google Cloud */
do_type = "s-1vcpu-1gb" /* DigitalOcean */
ac_type = "ecs.t5-lc1m1.small" /* Alibaba Cloud */
gc_type = "g1-small" /* Google Cloud */
dns_records = []
}