Skip to content

Commit 1c61ba3

Browse files
scarmuegaclaude
andauthored
chore: allow ogmios v7 in instance and service version validation (#89)
The bootstrap module restricted ogmios_version to {5,6}, rejecting v7 instances added after the docker/ogmios-7 image (#88). Extend both the instance and service version validations to accept "7". Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 14dbc94 commit 1c61ba3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

bootstrap/instance/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ variable "ogmios_version" {
66
type = string
77

88
validation {
9-
condition = contains(["5", "6"], var.ogmios_version)
10-
error_message = "Invalid version. Allowed values are 5 or 6."
9+
condition = contains(["5", "6", "7"], var.ogmios_version)
10+
error_message = "Invalid version. Allowed values are 5, 6 or 7."
1111
}
1212
}
1313

bootstrap/service/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ variable "ogmios_version" {
1010
type = string
1111

1212
validation {
13-
condition = contains(["5", "6"], var.ogmios_version)
14-
error_message = "Invalid version. Allowed values are 5 or 6."
13+
condition = contains(["5", "6", "7"], var.ogmios_version)
14+
error_message = "Invalid version. Allowed values are 5, 6 or 7."
1515
}
1616
}

0 commit comments

Comments
 (0)