@@ -60,6 +60,15 @@ inputs:
60
60
mithril_era_reader_secret_key :
61
61
description : Mithril era reader secret key (onlye for test networks).
62
62
required : false
63
+ mithril_aggregator_snapshot_compression_algorithm :
64
+ description : Mithril aggregator snapshot compression algorithm.
65
+ required : false
66
+ mithril_aggregator_zstandard_parameters_level :
67
+ description : Mithril aggregator snapshot zstandard compression level.
68
+ required : false
69
+ mithril_aggregator_zstandard_parameters_workers :
70
+ description : Mithril aggregator snapshot zstandard number of workers.
71
+ required : false
63
72
prometheus_auth_username :
64
73
description : Prometheus metrics endpoint username.
65
74
required : false
@@ -110,33 +119,36 @@ runs:
110
119
working-directory : mithril-infra
111
120
run : |
112
121
cat > ./env.variables.tfvars << EOF
113
- environment_prefix = "${{ inputs.environment_prefix }}"
114
- cardano_network = "${{ inputs.cardano_network }}"
115
- google_region = "${{ inputs.google_region }}"
116
- google_zone = "${{ inputs.google_zone }}"
117
- google_machine_type = "${{ inputs.google_machine_type }}"
118
- google_compute_instance_data_disk_size = "${{ inputs.google_compute_instance_data_disk_size }}"
119
- google_service_credentials_json_file = "./google-application-credentials.json"
120
- mithril_api_domain = "${{ inputs.mithril_api_domain }}"
121
- mithril_image_id = "${{ inputs.mithril_image_id }}"
122
- mithril_genesis_verification_key_url = "${{ inputs.mithril_genesis_verification_key_url }}"
123
- mithril_genesis_secret_key = "${{ inputs.mithril_genesis_secret_key }}"
124
- mithril_protocol_parameters = ${{ fromJSON(inputs.mithril_protocol_parameters) }}
125
- mithril_era_reader_adapter_type = "cardano-chain"
126
- mithril_era_reader_address_url = "${{ inputs.mithril_era_reader_address_url }}"
127
- mithril_era_reader_verification_key_url = "${{ inputs.mithril_era_reader_verification_key_url }}"
128
- mithril_era_reader_secret_key = "${{ inputs.mithril_era_reader_secret_key }}"
129
- mithril_signers = ${{ fromJSON(inputs.mithril_signers) }}
130
- prometheus_auth_username = "${{ inputs.prometheus_auth_username }}"
131
- prometheus_auth_password = "${{ inputs.prometheus_auth_password }}"
132
- prometheus_ingest_host = "${{ inputs.prometheus_ingest_host }}"
133
- prometheus_ingest_username = "${{ inputs.prometheus_ingest_username }}"
134
- prometheus_ingest_password = "${{ inputs.prometheus_ingest_password }}"
135
- loki_auth_username = "${{ inputs.loki_auth_username }}"
136
- loki_auth_password = "${{ inputs.loki_auth_password }}"
137
- loki_ingest_host = "${{ inputs.loki_ingest_host }}"
138
- loki_ingest_username = "${{ inputs.loki_ingest_username }}"
139
- loki_ingest_password = "${{ inputs.loki_ingest_password }}"
122
+ environment_prefix = "${{ inputs.environment_prefix }}"
123
+ cardano_network = "${{ inputs.cardano_network }}"
124
+ google_region = "${{ inputs.google_region }}"
125
+ google_zone = "${{ inputs.google_zone }}"
126
+ google_machine_type = "${{ inputs.google_machine_type }}"
127
+ google_compute_instance_data_disk_size = "${{ inputs.google_compute_instance_data_disk_size }}"
128
+ google_service_credentials_json_file = "./google-application-credentials.json"
129
+ mithril_api_domain = "${{ inputs.mithril_api_domain }}"
130
+ mithril_image_id = "${{ inputs.mithril_image_id }}"
131
+ mithril_genesis_verification_key_url = "${{ inputs.mithril_genesis_verification_key_url }}"
132
+ mithril_genesis_secret_key = "${{ inputs.mithril_genesis_secret_key }}"
133
+ mithril_protocol_parameters = ${{ fromJSON(inputs.mithril_protocol_parameters) }}
134
+ mithril_signers = ${{ fromJSON(inputs.mithril_signers) }}
135
+ mithril_era_reader_adapter_type = "cardano-chain"
136
+ mithril_era_reader_address_url = "${{ inputs.mithril_era_reader_address_url }}"
137
+ mithril_era_reader_verification_key_url = "${{ inputs.mithril_era_reader_verification_key_url }}"
138
+ mithril_era_reader_secret_key = "${{ inputs.mithril_era_reader_secret_key }}"
139
+ mithril_aggregator_snapshot_compression_algorithm = "${{ inputs.mithril_aggregator_snapshot_compression_algorithm }}"
140
+ mithril_aggregator_zstandard_parameters_level = "${{ inputs.mithril_aggregator_zstandard_parameters_level }}"
141
+ mithril_aggregator_zstandard_parameters_workers = "${{ inputs.mithril_aggregator_zstandard_parameters_workers }}"
142
+ prometheus_auth_username = "${{ inputs.prometheus_auth_username }}"
143
+ prometheus_auth_password = "${{ inputs.prometheus_auth_password }}"
144
+ prometheus_ingest_host = "${{ inputs.prometheus_ingest_host }}"
145
+ prometheus_ingest_username = "${{ inputs.prometheus_ingest_username }}"
146
+ prometheus_ingest_password = "${{ inputs.prometheus_ingest_password }}"
147
+ loki_auth_username = "${{ inputs.loki_auth_username }}"
148
+ loki_auth_password = "${{ inputs.loki_auth_password }}"
149
+ loki_ingest_host = "${{ inputs.loki_ingest_host }}"
150
+ loki_ingest_username = "${{ inputs.loki_ingest_username }}"
151
+ loki_ingest_password = "${{ inputs.loki_ingest_password }}"
140
152
EOF
141
153
terraform fmt ./env.variables.tfvars
142
154
cat ./env.variables.tfvars
0 commit comments