Update terraform-plugin-sdk to v1.13.1 #177
Merged
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.
Description
This PR upgradse the terraform-plugin-sdk to 1.13.1. There have been a number of new features added to the SDK that would have been super helpful to have when I was working on #182 but I didn't want to update the SDK as part of that PR.
Testing plan
This should be fine as there were no breaking changes to the SDK. These test steps have you test against a config that has many (but not all) of the resources available in the TFE provider.
terraform.tfvars.example
file toterraform.tfvars
, and add your information to theterraform.tfvars
file. You can find descriptions of these variables in thevariables.tf
file.terraform init
andterraform version
. Make sure the version of the TFE provider is not unversioned.terraform apply
. This should succeed.~/.terraform.d/plugins
directory.main.tf
is, delete your.terraform
folder.terraform init
andterraform version
. Your provider version should now be unversioned.terraform apply
. There should be no changes.terraform apply
. This should succeed.terraform destroy
. This should succeed.terraform apply
again. This should succeed.External links
Output from acceptance tests
We have more test failing locally than in CircleCI now. This needs to be fixed but it outside the scope of this PR.