-
Notifications
You must be signed in to change notification settings - Fork 30
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
SDKv2 to Framework Migration #112
Conversation
# Conflicts: # go.mod # go.sum
# Conflicts: # go.sum
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.
LGTM
Great work Selena!
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.
Looks good to me from a high level (I'm assuming @bendbennett has gone through all the lower level details). 🚀
Please reach out with any questions from my additional feedback, which is fairly minor in nature.
…onfigValidators method
While implementing #111, we noticed that the import acceptance test for the `tfexec` package failed. #111 (comment) After investigation, I found that the time provider was significantly rewritten in v0.9.0 to migrate to the new `terraform-plugin-framework`. hashicorp/terraform-provider-time#112 As a result, the implementation of import for the `time_static` resource now implicitly sets the `triggers` attribute to an empty map `{}` instead of `null`. I’m not sure if this change was intentional or not, though; we can simply accept this change because there is no essential difference as long as the import success with no change.
While implementing #111, we noticed that the import acceptance test for the `tfexec` package failed. #111 (comment) After investigation, I found that the time provider was significantly rewritten in v0.9.0 to migrate to the new `terraform-plugin-framework`. hashicorp/terraform-provider-time#112 As a result, the implementation of import for the `time_static` resource now implicitly sets the `triggers` attribute to an empty map `{}` instead of `null`. I’m not sure if this change was intentional or not, though; we can simply accept this change because there is no essential difference as long as the import success with no change.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
resource.TestCheckResourceAttrSet
helper function