-
Notifications
You must be signed in to change notification settings - Fork 101
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
Removed check to test resource attributes when ImportStateVerify is set to true in resource tests #1265
Conversation
…tateVerify is set to true in resource tests
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1265 +/- ##
=======================================
Coverage 84.05% 84.05%
=======================================
Files 61 61
Lines 17940 17940
=======================================
Hits 15080 15080
Misses 2054 2054
Partials 806 806 ☔ View full report in Codecov by Sentry. |
Sorry maybe a silly question but just wondering, why we needed to remove the attribute checks when ImportStateVerify is true? |
@samiib When ImportStateVerify is set to True, Terraform automatically verifies that the state of the imported resource matches the expected state. |
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.
Awesome! Sounds good to me.
LGTM!
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
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
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
No description provided.