Skip to content

Provider "registry.opentofu.org/ionos-cloud/ionoscloud" produced an invalid plan #591

@salyh

Description

@salyh

Description

I see a lot "produced an invalid plan" messages in the logs (on WARN log level):

2024-06-27T16:52:21.404Z [WARN]  Provider "registry.opentofu.org/ionos-cloud/ionoscloud" produced an invalid plan for ionoscloud_networkloadbalancer_forwardingrule.tfstack, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .health_check: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
2024-06-27T16:52:21.404Z [DEBUG] provider.terraform-provider-ionoscloud_v6.4.18: setting computed for "targets" from ComputedKeys: timestamp=2024-06-27T16:52:21.404Z
2024-06-27T16:52:21.405Z [WARN]  Provider "registry.opentofu.org/ionos-cloud/ionoscloud" produced an invalid plan for ionoscloud_networkloadbalancer_forwardingrule.tfstack_postgres, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .health_check: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
2024-06-27T16:57:25.316Z [WARN]  Provider "registry.opentofu.org/ionos-cloud/ionoscloud" produced an invalid plan for ionoscloud_k8s_node_pool.tfstack_z2, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .allow_replace: planned value cty.False for a non-computed attribute
2024-06-27T16:52:21.395Z [WARN]  Provider "registry.opentofu.org/ionos-cloud/ionoscloud" produced an invalid plan for ionoscloud_networkloadbalancer.tfstack, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .ips: planned value cty.UnknownVal(cty.List(cty.String)) does not match config value cty.ListVal([]cty.Value{cty.UnknownVal(cty.String)})

tofu validate reports no issues, see tf attached

Expected behavior

So such warnings

Environment

Terraform version:

OpenTofu v1.7.2

Provider version:

6.4.18

OS:

Configuration Files

tf.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions