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
When i'm trying to create group with multiple virtual folders inside i got an error:
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to sftpgo_group.group["MyGroup"], provider "provider[\"registry.terraform.io/drakkan/sftpgo\"]" produced an unexpected new value: .virtual_folders[0].virtual_path: was cty.StringVal("/MyGroup"), but now
│ cty.StringVal("/MyGroup-new").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to sftpgo_group.group["MyGroup"], provider "provider[\"registry.terraform.io/drakkan/sftpgo\"]" produced an unexpected new value: .virtual_folders[0].name: was cty.StringVal("MyGroup"), but now cty.StringVal("MyGroup-new").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to sftpgo_group.group["MyGroup"], provider "provider[\"registry.terraform.io/drakkan/sftpgo\"]" produced an unexpected new value: .virtual_folders[1].name: was cty.StringVal("MyGroup-new"), but now cty.StringVal("MyGroup").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to sftpgo_group.group["MyGroup"], provider "provider[\"registry.terraform.io/drakkan/sftpgo\"]" produced an unexpected new value: .virtual_folders[1].virtual_path: was cty.StringVal("/MyGroup-new"), but now
│ cty.StringVal("/MyGroup").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Provider version: 0.0.12
My resource:
resource "sftpgo_group" "group" {
for_each = { for group in local.groups : group.name => group }
name = each.value.name
virtual_folders = each.value.virtual_folder
depends_on = [sftpgo_folder.folder]
}
Locals:
groups = [for group in var.groups : {
name = group.name
virtual_folder = [for group_folder in group.virtual_folders : {
name = group_folder.name
virtual_path = group_folder.virtual_path
quota_files = -1
quota_size = -1
}]
}]
it could be a sort problem, i've an issue like this on groups with sftpgo_user
if update my groups to be alpha sorted ... and it seem to correct the problem
i assume during plan list is not sorted by name, and when apply output is sorted
i hope it can help :)
Error: Provider produced inconsistent result after apply
with list ["svc_accounts","ocean-rw"]
When applying changes to sftpgo_user.talend_service_account[0], provider
"provider[\"registry.terraform.io/drakkan/sftpgo\"]" produced an unexpected
new value: .groups[0].name: was cty.StringVal("svc_accounts"), but now
cty.StringVal("ocean-rw").
with list ["ocean-rw", "svc_accounts"] no apply problem
Hi!
When i'm trying to create group with multiple virtual folders inside i got an error:
Provider version: 0.0.12
My resource:
Locals:
State entry after apply
The text was updated successfully, but these errors were encountered: