-
Notifications
You must be signed in to change notification settings - Fork 16
Add statecheck.ExpectIdentityValue
for asserting resource identity values
#468
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
// TODO: This should be replaced by the `ValueType` method from plugin-go: | ||
// https://github.com/hashicorp/terraform-plugin-go/pull/497 |
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.
hashicorp/terraform-plugin-go#497 will let us resolve this in a follow-up PR
// TODO: This should be replaced by the `ValueType` method from plugin-go: | ||
// https://github.com/hashicorp/terraform-plugin-go/pull/497 |
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.
hashicorp/terraform-plugin-go#497 will let us resolve this in a follow-up PR
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.
One suggestion in line comments.
Co-authored-by: Baraa Basata <bbasata@gmail.com>
9e31baf
to
4a7dff2
Compare
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.
I'm going to merge this so we can utilize the |
This PR has a couple changes:
internal/testing/testprovider
and SDKUpgradeResourceIdentity
RPC, which we only need to implement if we plan on testing it in this repo, which I'm not 100% sure we need to.tfversion.Version1_12_0
package variable