Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 6dd7687

Browse files
authored
fix: fixed issue with endpoint being passed to the ibm_database_connection resource (#145)
Co-authored-by: [email protected] <[email protected]>
1 parent 4b608b2 commit 6dd7687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ locals {
208208
}
209209

210210
data "ibm_database_connection" "database_connection" {
211-
endpoint_type = var.service_endpoints
211+
endpoint_type = var.service_endpoints == "public-and-private" ? "public" : var.service_endpoints
212212
deployment_id = ibm_database.etcd_db.id
213213
user_id = ibm_database.etcd_db.adminuser
214214
user_type = "database"

0 commit comments

Comments
 (0)