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
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# platform_permission.test-reader will be updated in-place
~ resource "platform_permission" "test-reader" {
- destination = {
- actions = {
- groups = [
- {
- name = "test_mrluje" -> null
- permissions = [
- "READ",
] -> null
},
] -> null
} -> null
- targets = [
- {
- include_patterns = [
- "**/test/**",
] -> null
- name = "test-mrluje" -> null
},
] -> null
} -> null
name = "test-mrluje"
# (1 unchanged attribute hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
╷
│ Warning: Attribute Deprecated
│
│ with provider["registry.terraform.io/jfrog/platform"],
│ on artifactory_test.tf line 17, in provider "platform":
│ 17: myjfrog_api_token = "xxx"
│
│ MyJFrog API token is deprecated. Use provider 'jfrog/myjfrog' https://registry.terraform.io/providers/jfrog/myjfrog instead.
│
│ (and one more similar warning elsewhere)
╵
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
platform_permission.test-reader: Modifying... [name=test-mrluje]
platform_permission.test-reader: Modifications complete after 0s [name=test-mrluje]
Plan again
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# platform_permission.test-reader will be updated in-place
~ resource "platform_permission" "test-reader" {
- destination = {
- actions = {
- groups = [
- {
- name = "test_mrluje" -> null
- permissions = [
- "READ",
] -> null
},
] -> null
} -> null
- targets = [
- {
- include_patterns = [
- "**/test/**",
] -> null
- name = "test-mrluje" -> null
},
] -> null
} -> null
name = "test-mrluje"
# (1 unchanged attribute hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
The text was updated successfully, but these errors were encountered:
@MrLuje I am unable to reproduce your issue. Using your TF configuration (with modification to run on my local Artifactory instance), there is no plan change after apply even using repo key in the destination.targets.name.
Describe the bug
Deleting a
platform_permission
destination (https://registry.terraform.io/providers/jfrog/platform/latest/docs/resources/permission#destination) property is not workingRequirements for and issue
curl
it at$host/artifactory/api/system/version
(self-hosted v7.84.12)Expected behavior
Ability to manage
platform_permission
destinationsdestination
block and applyThe text was updated successfully, but these errors were encountered: