-
Notifications
You must be signed in to change notification settings - Fork 101
Disallow null resource identities #1193
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, as you mentioned, should probably point to the GH ref of terraform-plugin-go
after that is merged.
Also looks like one of the corner resource's needs to be updated to actually set identity, a good catch! 👍🏻 (Also looks like there is an extra log statement in there 😆 )
hashicorp/terraform-provider-corner#382 will resolve the test failures here |
Related Issue
Fixes #1184. Depends on hashicorp/terraform-plugin-go#541.
Description
This pull request updates the
ReadResource
andApplyResourceChange
RPCs to return an error diagnostic on the Create, Read, and Update paths when a null resource identity would be returned for a resource that has an identity schema.Rollback Plan
Changes to Security Controls
None.