Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
if the provider is served over the 0.12 protocol it will have a
TerraformVersion
set. If it is serving the old protocol it will be unset. This is to avoid a piece of boilerplate from repeating over and over in providerConfigureFuncs
, and ensure a consistent special designation of0.11+compatible
, implying it was TF 0.10/0.11 (0.11 compatible/protocol 4).I originally wanted to try and set this up in the protocol 4 parts of the code... but I couldn't track it down and plumbing it through might be a pain. The risk with this implementation is it feels awkward to mutate the provider struct at this point, are we sure we never want to access this variable before
Configure
is invoked? I'm not a lifecycle/architecture expert yet.