Skip to content

Commit 56e8b79

Browse files
authored
fix: Make disable_public_endpoint a required input exposed to the DA (#749)
1 parent 2a09774 commit 56e8b79

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

ibm_catalog.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,10 @@
447447
"key": "existing_cos_instance_crn",
448448
"required": true
449449
},
450+
{
451+
"key": "disable_public_endpoint",
452+
"required": true
453+
},
450454
{
451455
"key": "enable_platform_metrics",
452456
"type": "string",
@@ -592,9 +596,6 @@
592596
{
593597
"key": "use_private_endpoint"
594598
},
595-
{
596-
"key": "disable_public_endpoint"
597-
},
598599
{
599600
"key": "cluster_config_endpoint_type",
600601
"options": [

solutions/fully-configurable/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ variable "use_private_endpoint" {
268268

269269
variable "disable_public_endpoint" {
270270
type = bool
271-
description = "Whether access to the public service endpoint is disabled when the cluster is created. Does not affect existing clusters. You can't disable a public endpoint on an existing cluster, so you can't convert a public cluster to a private cluster. To change a public endpoint to private, create another cluster with this input set to `true`."
272-
default = false
271+
description = "Whether access to the public service endpoint is disabled when the cluster is created. Does not affect existing clusters. You can't disable a public endpoint on an existing cluster, so you can't convert a public cluster to a private cluster. To change a public endpoint to private, create another cluster with this input set to `true`. Warning: Set this field to `false` if you want to retain public access to the cluster. Once the cluster is created, this cannot be changed."
272+
default = true
273273
}
274274

275275
variable "cluster_config_endpoint_type" {

0 commit comments

Comments
 (0)