Skip to content

Commit

Permalink
Fix typo: Match new "id" name to delegated ID field (#672)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
iwahbe authored Dec 12, 2024
1 parent 4001f66 commit 7a5cc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func Provider() tfbridge.ProviderInfo {
"id": {Name: "monitorId"},
},
ComputeID: tfbridge.DelegateIDField(
"monitorID",
"monitorId",
"databricks",
"https://github.com/pulumi/pulumi-databricks",
),
Expand Down

0 comments on commit 7a5cc82

Please sign in to comment.