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

artifactory_remote_gems_repository does not implement UpgradeState() method #1193

Closed
2 tasks done
deepbrook opened this issue Feb 11, 2025 · 2 comments
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@deepbrook
Copy link

deepbrook commented Feb 11, 2025

Describe the bug
The respective resource should implement the UpgradeState method.

Requirements for and issue

  • Your version of terraform: 1.9.8
  • Your version of terraform provider: 12.8.3

Expected behavior
While upgrading from 11.6.0 to provider version 12.8.3.

Error Message

│ Error: Unable to Upgrade Resource State
│ 
│   with artifactory_remote_gems_repository.remote_gems_repo["DEV"],
│   on remote_repositories.tf line 360, in resource "artifactory_remote_gems_repository" "remote_gems_repo":
│  360: resource "artifactory_remote_gems_repository" "remote_gems_repo" {
│ 
│ This resource was implemented without an UpgradeState() method, however
│ Terraform was expecting an implementation for version 3 upgrade.
│ 
│ This is always an issue with the Terraform Provider and should be reported
│ to the provider developer.
╵
@deepbrook deepbrook added the bug Something isn't working label Feb 11, 2025
@alexhung
Copy link
Member

@deepbrook Can you try upgrading to 12.8.0 first, then to the latest? This should bypass the error.

@deepbrook
Copy link
Author

@alexhung , thanks for the reply - upgrading to 12.8.0 first did solve the issue. Thanks!

@alexhung alexhung pinned this issue Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants