You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data source in oci_network_load_balancer_network_load_balancers should have attribute reference items before accessing any attributes internal to network_load_balancer_collection
#2105
Open
hjain28 opened this issue
May 3, 2024
· 2 comments
Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version and Provider Version
Affected Resource(s)
data "oci_network_load_balancer_network_load_balancers" "name" {
#Required
compartment_id = abc
display_name = "xyz"
state = "ACTIVE"
}
for ip address to refer it should be
data.oci_network_load_balancer_network_load_balancers.network_load_balancers_ips.network_load_balancer_collection[0].items[*].ip_addresses
rather than
data.oci_network_load_balancer_network_load_balancers.network_load_balancers_ips.network_load_balancer_collection[0].ip_addresses
items attribute was missing
Terraform Configuration Files
# Copy-paste your Terraform configurations here - for large Terraform configs,# please use a service like Dropbox and share a link to the ZIP file. # Please remove any sensitive information from configuration files before sharing them.
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered:
data.oci_network_load_balancer_network_load_balancers.network_load_balancers_ips.network_load_balancer_collection[0].ip_addresses is this working and you are suggesting that structure is incorrect? why do you think that structure is incorrect?
data.oci_network_load_balancer_network_load_balancers.network_load_balancers_ips.network_load_balancer_collection[0].ip_addresses with this ip address fetch is failing?
Community Note
Terraform Version and Provider Version
Affected Resource(s)
data "oci_network_load_balancer_network_load_balancers" "name" {
#Required
compartment_id = abc
display_name = "xyz"
state = "ACTIVE"
}
for ip address to refer it should be
data.oci_network_load_balancer_network_load_balancers.network_load_balancers_ips.network_load_balancer_collection[0].items[*].ip_addresses
rather than
data.oci_network_load_balancer_network_load_balancers.network_load_balancers_ips.network_load_balancer_collection[0].ip_addresses
items attribute was missing
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: