Skip to content

Bug: Changing .visibility for resource "forgejo_organization" fails #125

Description

@Gregor-zbjk

opentofu error message:

penTofu used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place (current -> planned)

OpenTofu will perform the following actions:

  # forgejo_organization.actions will be updated in-place
  ~ resource "forgejo_organization" "actions" {
      ~ avatar_url                    = "https://git.zobjak.de/avatars/985911f331ea9a83c08df155ebf3ad9ca3cec660845b38bfdfed87de3a61d57b" -> (known after apply)
        id                            = 4
        name                          = "actions"
      ~ visibility                    = "private" -> "public"
        # (4 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Do you want to perform these actions?
  OpenTofu will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

forgejo_organization.actions: Modifying... [name=actions]
╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to forgejo_organization.actions, provider "provider[\"registry.opentofu.org/svalabs/forgejo\"].gregor_zbjk" produced an
│ unexpected new value: .visibility: was cty.StringVal("public"), but now cty.StringVal("private").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency filegoPull requests that update Go code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions