When attempting to establish a peering connection between a newly created VPC Network and an EventStore Cloud Cluster Network using Terraform, an error occurs with the message "Peering entered a defunct state!" Upon investigation, it was discovered that the root cause of this issue lies in the behavior of the EventStore Cloud Terraform provider's data source as it returns the 1st listed network even if it's in Deleted state.
When attempting to establish a peering connection between a newly created VPC Network and an EventStore Cloud Cluster Network using Terraform, an error occurs with the message "Peering entered a defunct state!" Upon investigation, it was discovered that the root cause of this issue lies in the behavior of the EventStore Cloud Terraform provider's data source as it returns the 1st listed network even if it's in Deleted state.