Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion ibm_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1863,7 +1863,21 @@
"key": "existing_cos_resource_group"
},
{
"key": "existing_cos_endpoint_type"
"key": "existing_cos_endpoint_type",
"options": [
{
"displayname": "direct",
"value": "direct"
},
{
"displayname": "private",
"value": "private"
},
{
"displayname": "public",
"value": "public"
}
]
},
{
"key": "use_existing_cos_for_vpc_flowlogs"
Expand Down
8 changes: 4 additions & 4 deletions patterns/dynamic_values/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ variable "existing_cos_resource_group" {
}

variable "existing_cos_endpoint_type" {
description = "The endpoint type to use when accessing the existing COS instance, default is `public`."
description = "The endpoint type to use when accessing the existing COS instance. `direct` is the preferred endpoint type for re-platformed regions."
type = string
default = "public"
default = "direct"

validation {
error_message = "Endpoint type can only be `public` or `private`."
condition = contains(["public", "private", null], var.existing_cos_endpoint_type)
error_message = "Endpoint type can only be `public`, `private`, or `direct`."
condition = contains(["public", "private", "direct", null], var.existing_cos_endpoint_type)
}
}

Expand Down
8 changes: 4 additions & 4 deletions patterns/roks/module/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ variable "existing_cos_resource_group" {
}

variable "existing_cos_endpoint_type" {
description = "The endpoint type to use when accessing the existing COS instance, default is `public`."
description = "The endpoint type to use when accessing the existing COS instance. `direct` is the preferred endpoint type for re-platformed regions."
type = string
default = "public"
default = "direct"

validation {
error_message = "Endpoint type can only be `public` or `private`."
condition = contains(["public", "private", null], var.existing_cos_endpoint_type)
error_message = "Endpoint type can only be `public`, `private`, or `direct`."
condition = contains(["public", "private", "direct", null], var.existing_cos_endpoint_type)
}
}

Expand Down
8 changes: 4 additions & 4 deletions patterns/roks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ variable "existing_cos_resource_group" {
}

variable "existing_cos_endpoint_type" {
description = "The endpoint type to use when accessing the existing COS instance, default is `public`."
description = "The endpoint type to use when accessing the existing COS instance. `direct` is the preferred endpoint type for re-platformed regions."
type = string
default = "public"
default = "direct"

validation {
error_message = "Endpoint type can only be `public` or `private`."
condition = contains(["public", "private", null], var.existing_cos_endpoint_type)
error_message = "Endpoint type can only be `public`, `private`, or `direct`."
condition = contains(["public", "private", "direct", null], var.existing_cos_endpoint_type)
}
}

Expand Down