Updating the units_map field of forgejo_team resources to change permissions from read to write fails with the following errors:
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to forgejo_team.normal["ml-engineering"], provider "provider[\"registry.opentofu.org/svalabs/forgejo\"]" produced an unexpected new value: .permission: was cty.StringVal("read"), but now
│ cty.StringVal("write").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
Tested with these resources:
resource "forgejo_team" "main" {
for_each = local.forgejo_teams
description = each.value.title
name = each.key
organization_id = forgejo_organization.normal.id
units_map = {
"repo.actions" = "write"
"repo.code" = "write"
"repo.issues" = "write"
"repo.packages" = "write"
"repo.projects" = "write"
"repo.pulls" = "write"
"repo.releases" = "write"
"repo.wiki" = "write"
}
}
- Forgejo 15.
- Forgejo provider v1.4.4.
Updating the
units_mapfield offorgejo_teamresources to change permissions fromreadtowritefails with the following errors:Tested with these resources: