@@ -6,6 +6,7 @@ variable "environment_prefix" {
6
6
variable "environment_suffix" {
7
7
type = string
8
8
description = " The environment suffix to deploy"
9
+ default = " "
9
10
}
10
11
11
12
variable "cardano_network" {
@@ -21,19 +22,22 @@ locals {
21
22
variable "google_region" {
22
23
type = string
23
24
description = " The region on GCP"
25
+ default = " europe-west1"
24
26
}
25
27
26
28
variable "google_zone" {
27
29
type = string
28
30
description = " The zone on GCP"
31
+ default = " europe-west1-b"
29
32
}
30
33
31
34
variable "google_machine_type" {
32
35
type = string
33
36
description = " The machine type on which to run the VM on GCP"
37
+ default = " e2-medium"
34
38
}
35
39
36
- variable "google_service_credentials_json " {
40
+ variable "google_service_credentials_json_file " {
37
41
type = string
38
42
description = " The credentials of the GCP service account"
39
43
}
@@ -45,9 +49,9 @@ variable "google_storage_bucket_max_age" {
45
49
}
46
50
47
51
locals {
48
- google_service_credentials_json_decoded = jsondecode (file (var. google_service_credentials_json ))
49
- google_service_account_private_key = local. google_service_credentials_json_decoded . private_key
50
- google_project_id = local. google_service_credentials_json_decoded . project_id
52
+ google_service_credentials_json_file_decoded = jsondecode (file (var. google_service_credentials_json_file ))
53
+ google_service_account_private_key = local. google_service_credentials_json_file_decoded . private_key
54
+ google_project_id = local. google_service_credentials_json_file_decoded . project_id
51
55
}
52
56
53
57
variable "mithril_api_domain" {
@@ -73,4 +77,9 @@ variable "mithril_signers" {
73
77
type = map (object ({
74
78
pool_id = string
75
79
}))
80
+ default = {
81
+ " 1" = {
82
+ pool_id = " pool15qde6mnkc0jgycm69ua0grwxmmu0tke54h5uhml0j8ndw3kcu9x" ,
83
+ }
84
+ }
76
85
}
0 commit comments