openshift / installer

Install an OpenShift 4.x cluster
https://try.openshift.com
Apache License 2.0
1.39k stars 1.36k forks source link

Bug: Deprecated Terraform Resource attribute for IBM Cloud Virtual Servers #8154

Open sean-freeman opened 3 months ago

sean-freeman commented 3 months ago

Version

All

Platform:

ibmcloud

Install types impacted:

What happened?

Errors during runtime:

DEBUG ibm_is_lb_pool_member.machine_config: Creation complete after 3m26s [id=]
DEBUG
DEBUG Warning: Deprecated attribute
DEBUG
DEBUG   on main.tf line 118, in resource "ibm_is_lb_pool_member" "kubernetes_api_public":
DEBUG  118:   target_address = ibm_is_instance.bootstrap_node.primary_network_interface.0.primary_ipv4_address
DEBUG
DEBUG The attribute "primary_ipv4_address" is deprecated. Refer to the provider
DEBUG documentation for details.
DEBUG
DEBUG (and 11 more similar warnings elsewhere)
DEBUG
DEBUG Apply complete! Resources: 12 added, 0 changed, 0 destroyed.

What you expected to happen?

No error, deprecation occured in the Terraform Provider a long while ago.

How to reproduce it (as minimally and precisely as possible)?

Any of the following code executed during normal runtime: https://github.com/search?q=repo%3Aopenshift%2Finstaller%20primary_ipv4_address&type=code

Anything else we need to know?

Replacement code is simple:

Before: ibm_is_instance.example.primary_network_interface.0.primary_ipv4_address ibm_is_instance.example.primary_network_interface[0].primary_ipv4_address

After: ibm_is_instance.example.primary_network_interface.0.primary_ip.0.address ibm_is_instance.example.primary_network_interface[0].primary_ip[0].address

References

openshift-bot commented 3 weeks ago

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale