Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit ff486b3

Browse files
test: test failure regarding etcd_version variable (#88)
1 parent 63584ef commit ff486b3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

examples/basic/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module "etcd_db" {
1919
resource_group_id = module.resource_group.resource_group_id
2020
name = "${var.prefix}-etcd"
2121
region = var.region
22+
etcd_version = var.etcd_version
2223
tags = var.resource_tags
2324
access_tags = var.access_tags
2425
}

examples/basic/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ variable "resource_group" {
2222
default = null
2323
}
2424

25+
variable "etcd_version" {
26+
type = string
27+
description = "Version of the etcd instance to provision. If no value is passed, the current preferred version of IBM Cloud Databases is used."
28+
default = null
29+
}
30+
2531
variable "access_tags" {
2632
type = list(string)
2733
description = "A list of access tags to apply to the etcd db instance created by the module, see https://cloud.ibm.com/docs/account?topic=account-access-tags-tutorial for more details"

0 commit comments

Comments
 (0)