Skip to content

Add support for working with resource reclamations in terraform #6390

@ocofaigh

Description

@ocofaigh

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue 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 issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

IBM Cloud has reclamation apis for managing reclamation instances -> https://cloud.ibm.com/docs/account?topic=account-resource-reclamation&interface=api
We are looking for support to use this api via the terraform provider.

New or Affected Resource(s)

  • ibm_resource_reclamations (data lookup to list all reclamations)
  • ibm_resource_reclamation (data lookup to list a reclamation instance)
  • ibm_resource_reclamation_delete (for deleting a reclamation instance)
  • ibm_resource_reclamation_restore (for restoring a reclamation instance)

Potential Terraform Configuration

data "ibm_resource_reclamations" "reclamations" {
}
data "ibm_resource_reclamation" "reclamation" {
  id = "614fc866-1d4f-4c9e-973e-637f1089a6a1"
}
resource "ibm_resource_reclamation_delete" "reclamation_delete" {
  id = "614fc866-1d4f-4c9e-973e-637f1089a6a1"
}
resource "ibm_resource_reclamation_restore" "reclamation_restore" {
  id = "614fc866-1d4f-4c9e-973e-637f1089a6a1"
}

References

  • #0000

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions