Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo: Match new "id" name to delegated ID field #672

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Dec 12, 2024

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

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
@iwahbe iwahbe requested review from guineveresaenger and a team December 12, 2024 13:33
@iwahbe iwahbe self-assigned this Dec 12, 2024
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@iwahbe iwahbe added the needs-release/patch When a PR with this label merges, it initiates a release of vX.Y.Z+1 label Dec 12, 2024
@iwahbe iwahbe merged commit 7a5cc82 into main Dec 12, 2024
24 checks passed
@iwahbe iwahbe deleted the iwahbe/669 branch December 12, 2024 14:18
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v1.56.2.

@github-actions github-actions bot removed the needs-release/patch When a PR with this label merges, it initiates a release of vX.Y.Z+1 label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QualityMonitor error: Could not find required property 'monitorID' in state.
3 participants