Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit 59673c5

Browse files
author
Sean Sundberg
authored
Adds disable_public_endpoint variable (#3)
Signed-off-by: Sean Sundberg <[email protected]>
1 parent 4c1db9e commit 59673c5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ resource ibm_container_vpc_cluster cluster {
103103
entitlement = var.ocp_entitlement
104104
cos_instance_crn = var.cos_id
105105
resource_group_id = data.ibm_resource_group.resource_group.id
106+
disable_public_service_endpoint = var.disable_public_endpoint
106107
wait_till = "IngressReady"
107108

108109
zones {

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ variable "exists" {
5252
default = false
5353
}
5454

55+
variable "disable_public_endpoint" {
56+
type = bool
57+
description = "Flag indicating that the public endpoint should be disabled"
58+
default = false
59+
}
60+
5561
variable "name_prefix" {
5662
type = string
5763
description = "The prefix name for the service. If not provided it will default to the resource group name"

0 commit comments

Comments
 (0)