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

Commit 7770976

Browse files
kierramarieshemau
andauthored
fix: fixed issue with endpoint being passed to the ibm_database_connection resource (#190)
Co-authored-by: [email protected] <[email protected]> Co-authored-by: shemau <[email protected]>
1 parent e461a86 commit 7770976

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
@@ -217,7 +217,7 @@ locals {
217217
}
218218

219219
data "ibm_database_connection" "database_connection" {
220-
endpoint_type = var.service_endpoints
220+
endpoint_type = var.service_endpoints == "public-and-private" ? "public" : var.service_endpoints
221221
deployment_id = ibm_database.enterprise_db.id
222222
user_id = ibm_database.enterprise_db.adminuser
223223
user_type = "database"

0 commit comments

Comments
 (0)