You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This example provides an end-to-end executable flow of how a etcd DB can be created from a backup instance. This example uses the IBM Cloud terraform provider to:
4
+
5
+
- Create a new resource group if one is not passed in.
6
+
- Create a restored ICD etcd database instance pointing to the lastest backup of the existing etcd database instance crn passed.
description="Region to provision all resources created by this example"
10
+
default="us-south"
11
+
}
12
+
13
+
variable"prefix" {
14
+
type=string
15
+
description="Prefix to append to all resources created by this example"
16
+
default="etcd-restore"
17
+
}
18
+
19
+
variable"resource_group" {
20
+
type=string
21
+
description="An existing resource group name to use for this example, if unset a new resource group will be created"
22
+
default=null
23
+
}
24
+
25
+
variable"etcd_version" {
26
+
type=string
27
+
description="Version of etcd to deploy"
28
+
default=null
29
+
}
30
+
31
+
variable"resource_tags" {
32
+
type=list(string)
33
+
description="Optional list of tags to be added to created resources"
34
+
default=[]
35
+
}
36
+
37
+
variable"access_tags" {
38
+
type=list(string)
39
+
description="A list of access tags to apply to the etcd instance created by the module, see https://cloud.ibm.com/docs/account?topic=account-access-tags-tutorial for more details"
40
+
default=[]
41
+
}
42
+
43
+
variable"etcd_db_crn" {
44
+
type=string
45
+
description="The existing CRN of a etcd instance to fetch the latest backup crn."
0 commit comments