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

Disable MP Resources from NSX 9.0.0 onwards #1384

Merged
merged 1 commit into from
Oct 2, 2024

Commits on Sep 30, 2024

  1. Disable MP Resources from NSX 9.0.0 onwards

    This change disables deperecate NSX MP resources and data
    sources when  NSX manager version is higher or equal to 9.0.0
    
    For MP resources, with NSX >= 9.0.0:
    - terraform apply and import operations will fail
      with an error like the following one:
      "MP resource <name> was deprecated and has been removed in
       NSX 9.0.0";
    - terraform plan and delete operations for MP resources already
      in the state will not be impacted as read and delete operations
      are no-op when the NSX version is 9.0.0 or higher. This will
      allow users to easily remove these resources from the terraform
      state;
    - all terraform operations involving MP data sources will fail
      with the error above;
    - terraform plan operations for resource not yet in the Terraform
      state will succeed, but will then fail at the apply stage. This
      because Terraform won't perform a read from the backend if the
      resource is not present at all in the state.
    
    Signed-off-by: Salvatore Orlando <[email protected]>
    salv-orlando committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    607d90c View commit details
    Browse the repository at this point in the history