Skip to content

Commit a0cffcf

Browse files
authored
Merge pull request #34 from gonzalezzfelipe/fix/playbook-variables
fix: Use the same image for different binaries
2 parents ac59946 + 3049692 commit a0cffcf

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

playbook/doom-dev/main.tf

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,15 @@ variable "external_domain" {
4343
description = "The domain prefix that will be used to access the hydra node."
4444
}
4545

46-
variable "operator_image" {
46+
variable "image" {
4747
type = string
48-
description = "The image to use for the operator component."
4948
}
5049

5150
variable "hydra_node_image" {
5251
type = string
5352
description = "The Docker image to use for the Hydra node component."
5453
}
5554

56-
variable "sidecar_image" {
57-
type = string
58-
description = "The Docker image to use for the sidecar component of the Hydra node."
59-
}
60-
61-
variable "open_head_image" {
62-
type = string
63-
description = "The Docker image to use for the open head component of the Hydra node."
64-
}
65-
66-
variable "control_plane_image" {
67-
type = string
68-
description = "The Docker image to use for the control plane component of the Hydra node."
69-
}
70-
7155
variable "hydra_scripts_tx_id" {
7256
type = string
7357
description = "The transaction ID of the Hydra scripts."
@@ -113,11 +97,11 @@ module "stage2" {
11397

11498
namespace = local.namespace
11599
external_domain = var.external_domain
116-
operator_image = var.operator_image
117100
hydra_node_image = var.hydra_node_image
118-
sidecar_image = var.sidecar_image
119-
open_head_image = var.open_head_image
120-
control_plane_image = var.control_plane_image
101+
operator_image = var.image
102+
sidecar_image = var.image
103+
open_head_image = var.image
104+
control_plane_image = var.image
121105
blockfrost_key = var.blockfrost_key
122106
admin_addr = var.admin_addr
123107
dmtr_project_id = var.dmtr_project_id

0 commit comments

Comments
 (0)