Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
salyh opened this issue Jun 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@salyh
Copy link

salyh commented Jun 30, 2024

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

@salyh salyh added the bug Something isn't working label Jun 30, 2024
@cristiGuranIonos
Copy link
Collaborator

Data consistency errors due to older tf sdk. If you don't see any downstream errors, don't mind these. Will be fixed when we migrate to the newer platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants