Skip to content

server_side_diff_enabled Fails when applying in terraform #430

@YoshuaAlfaroTR

Description

@YoshuaAlfaroTR

After applying a change to the akp_cluster configuration in terraform, the provider fails, even after untainting the resource:

akp_cluster.plexus[0] will be updated in-place
~ resource "akp_cluster" "plexus" {
id = "23and5sz9a41svr1"
name = "a206215-preprod-akuity-poc-bu-use1-plexus-cluster"
~ spec = {
~ data = {
+ server_side_diff_enabled = true
# (9 unchanged attributes hidden)
}
# (2 unchanged attributes hidden)
}
# (7 unchanged attributes hidden)
}

Got the result:

╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to akp_cluster.plexus[0], provider "provider["registry.terraform.io/akuity/akp"]" produced an unexpected new
│ value: .spec.data.server_side_diff_enabled: was cty.True, but now null.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

Also tried adding it to the ignore_changes lifecycle in TF but got the same result
ecause the provider is failing during the apply operation itself, not after.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions