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
Add resource source for terraform state #897
Conversation
eliecharra
commented
Jul 29, 2021
•
edited
edited
Q | A |
---|---|
π Bug fix? | no |
π New feature? | no |
β Deprecations? | no |
β BC Break | no |
π Related issues | Fix #873 |
β Documentation | no |
Codecov Report
@@ Coverage Diff @@
## main #897 +/- ##
==========================================
- Coverage 81.66% 81.59% -0.07%
==========================================
Files 231 232 +1
Lines 7494 7520 +26
==========================================
+ Hits 6120 6136 +16
- Misses 1149 1159 +10
Partials 225 225
|
for _, stateVal := range val { | ||
res, err := r.deserializer.DeserializeOne(ty, stateVal.val) | ||
if err != nil { | ||
logrus.WithField("ty", ty).Warnf("Could not read from state: %+v", err) |
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.
Maybe we can display here in which state the error came from
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.
Yeah good idea, that was not the original goal of this PR but it can't hurt. Let's do this !
97ffad9
to
82b8c1c
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 good with that