PaloAltoNetworks / terraform-provider-prismacloud

Terraform PrismaCloud provider
https://www.terraform.io/docs/providers/prismacloud/
Mozilla Public License 2.0
54 stars 65 forks source link

Allow deleting associated users of a user role #276

Closed rkitron closed 3 months ago

rkitron commented 10 months ago

Description

This feature adds the option delete_associated_users to user_role resource.

Motivation and Context

When SSO is enabled, and if user roles are managed by Terraform, we cannot delete a user role if users are associated with it.

How Has This Been Tested?

Checked by creating a user via Terraform, then adding a user via the console and deleting the role via Terraform.

Screenshots (if appropriate)

Types of changes

Checklist