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
fix: renamed existing_kms_crn to existing_kms_instance_crn<br>* removed kms_region as its now programatically detected<br>* renamed existing_resource_group to use_existing_resource_group (#28)
Copy file name to clipboardExpand all lines: ibm_catalog.json
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,51 @@
58
58
}
59
59
]
60
60
},
61
+
"configuration" : [
62
+
{
63
+
"key": "existing_cos_kms_key_crn",
64
+
"required": true
65
+
},
66
+
{
67
+
"key": "region",
68
+
"required": true,
69
+
"default_value": "",
70
+
"options": [
71
+
{
72
+
"displayname": "Dallas (us-south)",
73
+
"value": "us-south"
74
+
},
75
+
{
76
+
"displayname": "Frankfurt (eu-de)",
77
+
"value": "eu-de"
78
+
},
79
+
{
80
+
"displayname": "London (eu-gb)",
81
+
"value": "eu-gb"
82
+
},
83
+
{
84
+
"displayname": "Madrid (eu-es)",
85
+
"value": "eu-es"
86
+
},
87
+
{
88
+
"displayname": "Osaka (jp-osa)",
89
+
"value": "jp-osa"
90
+
},
91
+
{
92
+
"displayname": "Sydney (au-syd)",
93
+
"value": "au-syd"
94
+
},
95
+
{
96
+
"displayname": "Tokyo (jp-tok)",
97
+
"value": "jp-tok"
98
+
},
99
+
{
100
+
"displayname": "Washington (us-east)",
101
+
"value": "us-east"
102
+
}
103
+
]
104
+
}
105
+
],
61
106
"architecture": {
62
107
"descriptions": "This architecture supports deployment of Log Analysis and Cloud Monitoring instances on IBM Cloud and Activity Tracker event routing to a COS bucket target.",
existing_kms_guid=var.existing_kms_crn!=null?element(split(":", var.existing_kms_crn), length(split(":", var.existing_kms_crn)) -3) :length(local.bucket_config_map) ==2?null:tobool("The CRN of the existing KMS is not provided.")
10
+
existing_kms_guid=var.existing_kms_instance_crn!=null?element(split(":", var.existing_kms_instance_crn), length(split(":", var.existing_kms_instance_crn)) -3) :length(local.bucket_config_map) ==2?null:tobool("The CRN of the existing KMS is not provided.")
description="The region in which KMS instance exists."
252
-
}
253
-
254
-
variable"existing_kms_crn" {
253
+
variable"existing_kms_instance_crn" {
255
254
type=string
256
255
default=null
257
-
description="The CRN of the KMS instance used for the COS bucket root Key. Only required if not supplying an existing KMS root key and if 'skip_cos_kms_auth_policy' is true."
256
+
description="The CRN of the KMS instance used for the COS bucket root Key. Only required if not supplying an existing KMS root key. Not required if existing bucket details are passed as an input."
0 commit comments