Skip to content
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

Update terraform plugin version #4151

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

briangleeson
Copy link
Contributor

@briangleeson briangleeson commented Nov 8, 2022

There is a bug in terraform-plugin-sdk that causes acceptance to fail when they shouldn't, steps with ImportState fail if the configuration contains any data sources. Updating to the latest version fixes the problem

Steps used for this PR:

  • Updated version to 2.24.0 for terraform-plugin-sdk in go.mod
  • Ran go mod tidy

Error that occurs with old plugin version: Failed state verification, resource with ID [...] not found.

Related issue from another provider: hashicorp/terraform-provider-aws#27049

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

$ make testacc TEST=./ibm/service/cdtektonpipeline TESTARGS='-run=TestAccIBMCdTekton*'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./ibm/service/cdtektonpipeline -v -run=TestAccIBMCdTekton* -timeout 700m
=== RUN   TestAccIBMCdTektonPipelineBasic
--- PASS: TestAccIBMCdTektonPipelineBasic (84.89s)
=== RUN   TestAccIBMCdTektonPipelineAllArgs
--- PASS: TestAccIBMCdTektonPipelineAllArgs (139.77s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/cdtektonpipeline        233.958s

@hkantare hkantare merged commit 5142e86 into IBM-Cloud:master Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants