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
I replaced the deprecated resource artifactory_permission_target from the artifactory provider with the new resource platform_permission from the platform provider and the repo association looks incorrect on the UI.
Original HCL snippet with artifactory_permission_target:
resource "artifactory_permission_target" "support" {
name = "support"
repo {
repositories = ["ANY REMOTE"]
actions {
groups {
name = "support"
permissions = ["delete"]
}
}
}
}
New HCL snippet with platform_permission:
resource "platform_permission" "support" {
name = "support"
artifact = {
actions = {
groups = [
{
name = "support"
permissions = ["DELETE"]
}
]
}
targets = [
{
name = "ANY_REMOTE"
}
]
}
}
Using ANY_REMOTE does not select the correct repo as can be seen in this screenshot:
Requirements for and issue
A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue)
Your version of artifactory (you can curl it at $host/artifactory/api/system/version
Your version of terraform
Expected behavior
The repository should appear as Any Remote instead of ANY_REMOTE as part of the respective permission.
The text was updated successfully, but these errors were encountered:
Describe the bug
Artifactory Cloud version: 7.78.1
Terraform version: 1.3.6
Artifactory provider version: 10.3.1
Platform provider version: 1.5.0
I replaced the deprecated resource artifactory_permission_target from the artifactory provider with the new resource platform_permission from the platform provider and the repo association looks incorrect on the UI.
Original HCL snippet with artifactory_permission_target:
New HCL snippet with platform_permission:
Using ANY_REMOTE does not select the correct repo as can be seen in this screenshot:

Requirements for and issue
curl
it at$host/artifactory/api/system/version
Expected behavior
The repository should appear as Any Remote instead of ANY_REMOTE as part of the respective permission.
The text was updated successfully, but these errors were encountered: