From dce0ac86cb1c36f221dcfa5c92f8e68a4d9badb1 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Thu, 12 Dec 2024 14:30:53 +0100 Subject: [PATCH] Fix typo: Match new `"id"` name to delegated ID field Previously, we had: ``` "id": {Name: "monitorId"}, }, ComputeID: tfbridge.DelegateIDField( "monitorID", "databricks", "https://github.com/pulumi/pulumi-databricks", ``` Note that the name assigned to `"id"` (`"monitorId"`) doesn't match the name of the field we told `tfbridge.DelegateIDField` to find the ID in (`"monitorID"`). These **must** match for `tfbridge.DelegateIDField` to work. Fixes #669 --- provider/resources.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/resources.go b/provider/resources.go index 1b6f00a5..6ecbf3b3 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -184,7 +184,7 @@ func Provider() tfbridge.ProviderInfo { "id": {Name: "monitorId"}, }, ComputeID: tfbridge.DelegateIDField( - "monitorID", + "monitorId", "databricks", "https://github.com/pulumi/pulumi-databricks", ),