Terraform plans to update a platform_permission resource when the name changes, but the apply fails with "Not Found" (presumably attempting to do some operation on the permission's new name).
Expected behavior
Since a permission target cannot be renamed, it should be replaced.
Describe the bug
This is analogous to https://github.com/jfrog/terraform-provider-artifactory/issues/944, only for the
platform_permission
resource.Requirements for and issue
Terraform plans to update a
platform_permission
resource when the name changes, but the apply fails with "Not Found" (presumably attempting to do some operation on the permission's new name).Expected behavior
Since a permission target cannot be renamed, it should be replaced.
Additional context
Example: