-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1021 Fixes accessing RawConfig panics on seeing a nil. This bug used to breaks providers that use GetRawConfig() in diff customizers, which is a common idiom in TF. The fix is along the same lines as #1314 - we propagate the current notion of rawConfigVal to populate the structure in question. This should be much better than panic in these situations but there's more work remaining in the future to make sure the rawConfigVal is similar to what TF would pass in the same situation to avoid logical discrepancies.
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters