You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a platform_permission resource that grants no access to anything, the permission is created correctly but subsequent plan commands show the permission as out of sync.
# platform_permission.empty will be created
+ resource "platform_permission" "empty" {
+ artifact = {
+ targets = []
}
+ name = "empty"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Subsequent plan output:
# platform_permission.empty will be updated in-place
~ resource "platform_permission" "empty" {
+ artifact = {
+ targets = []
}
name = "empty"
}
Plan: 0 to add, 1 to change, 0 to destroy.
Requirements for and issue
A description of the bug
A fully functioning terraform snippet that can be copy & pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
Your version of Artifactory - 7.98.10
Is your Artifactory Cloud or Self-Hosted - Self-hosted
Your version of Terraform CLI - OpenTofu 1.8.8
Your version of Terraform provider - 2.2.1
Expected behavior plan should show no changes.
Additional context
The use case we have for wanting an empty permission is to remove everything configured on the Anything permission that is automatically created with new Artifactory installs.
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating a
platform_permission
resource that grants no access to anything, the permission is created correctly but subsequentplan
commands show the permission as out of sync.Resource:
Initial apply output:
Subsequent plan output:
Requirements for and issue
Expected behavior
plan
should show no changes.Additional context
The use case we have for wanting an empty permission is to remove everything configured on the
Anything
permission that is automatically created with new Artifactory installs.The text was updated successfully, but these errors were encountered: