Skip to content

Commit 3742a09

Browse files
Khuzaima-ShakeelKhuzaima-Shakeel
authored andcommitted
resolve review comments
1 parent 577a223 commit 3742a09

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

ibm_catalog.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,17 @@
403403
"key": "flow_logs_cos_bucket_archive_days"
404404
},
405405
{
406-
"key": "flow_logs_cos_bucket_archive_type"
406+
"key": "flow_logs_cos_bucket_archive_type",
407+
"options": [
408+
{
409+
"displayname": "Glacier",
410+
"value": "Glacier"
411+
},
412+
{
413+
"displayname": "Accelerated",
414+
"value": "Accelerated"
415+
}
416+
]
407417
},
408418
{
409419
"key": "flow_logs_cos_bucket_expire_days"

solutions/fully-configurable/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,10 @@ variable "flow_logs_cos_bucket_archive_type" {
502502
description = "The storage class or archive type you want the object to transition to in the flow logs cloud object storage bucket."
503503
type = string
504504
default = "Glacier"
505+
validation {
506+
condition = contains(["Glacier", "Accelerated"], var.flow_logs_cos_bucket_archive_type)
507+
error_message = "The specified flow_logs_cos_bucket_archive_type is not a valid selection!"
508+
}
505509
}
506510

507511
variable "flow_logs_cos_bucket_expire_days" {

tests/pr_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func TestFullyConfigurable(t *testing.T) {
232232
TemplateFolder: fullyConfigFlavorDir,
233233
Tags: []string{"vpc-da-test"},
234234
DeleteWorkspaceOnFail: false,
235-
WaitJobCompleteMinutes: 60,
235+
WaitJobCompleteMinutes: 120,
236236
})
237237

238238
options.TerraformVars = []testschematic.TestSchematicTerraformVar{
@@ -276,7 +276,7 @@ func TestRunUpgradeFullyConfigurable(t *testing.T) {
276276
TemplateFolder: fullyConfigFlavorDir,
277277
Tags: []string{"vpc-da-test"},
278278
DeleteWorkspaceOnFail: false,
279-
WaitJobCompleteMinutes: 60,
279+
WaitJobCompleteMinutes: 120,
280280
})
281281

282282
options.TerraformVars = []testschematic.TestSchematicTerraformVar{

0 commit comments

Comments
 (0)