Skip to content

Site hierarchy deletion failed with same creation hierarchy #21

@pnpdev10

Description

@pnpdev10

Prerequisites

  • Have you tested the operation in the API directly?
  • Do you have the latest Terraform provider version?
  • Review the compatibility matrix before opening an issue.

Describe the bug
The terraform provider cannot use the same site hierarchy data structure for deletion as it does for creation. Users must manually reorder their data to delete floors first, then buildings, then areas in reverse hierarchy order.

Terraform's dependency graph doesn't respect Catalyst Center's deletion requirements. Parent resources can't be deleted while children exist
Time delays and lifecycle rules don't solve the core ordering issue. Users need separate deletion configurations or manual scripts

Expected behavior
The site hierarchy should be easy to delete efficiently.

Screenshots
Please provide an screenshot of the successful API call with cuRL, Postman, etc.

Environment (please complete the following information):

  • Cisco Catalyst Center version and patch: 2.3.7.9-75335
  • Terraform version: v1.12.2 (latest)
  • Cisco Catalyst Center provider version: 1.2.0-beta (latest)
  • OS Version: RHEL 8.8 (Ootpa)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions