Skip to content

Conversation

uibm
Copy link
Collaborator

@uibm uibm commented Aug 1, 2025

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 #6390

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

@IdanAdar
Copy link
Collaborator

@uibm What's the status of this work, please?

@uibm
Copy link
Collaborator Author

uibm commented Aug 29, 2025

@IdanAdar @ocofaigh

We need some thoughts on how this should work end-to-end.

This PR adds:

  • a data source to list resource reclamations, and
  • a resource to perform an action on a reclamation (delete/reclaim).

Concern: a successful restore brings the resource instance back in IBM Cloud but it’s now out of Terraform state (an orphan resource). Terraform won’t auto-import it, so users must import the restored instance manually. That’s a big concern.

We can think of splitting this into reclamation_delete and (reclamation_restore which can be a part of later development) same as cli.

@uibm uibm force-pushed the resource-reclamations branch from 538aa8d to 03f78a8 Compare September 3, 2025 06:41
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.

Add support for working with resource reclamations in terraform
2 participants