Skip to content

google_compute_router: iterating bgp.advertised_ip_ranges? #128

Closed
@supertylerc

Description

I'm certain I'm doing something wrong, but I'm looking at the google_compute_router resource and the bgp.advertised_ip_ranges property specificially. The documentation uses bgp.advertised_ip_ranges.first and .last, which works great...if you have two or fewer advertised IP ranges. However, when you have >= 3, you're missing everything in between. I'm sure this is probably documented elsewhere, but I couldn't find it. :(

How can I loop through each possible advertised IP range, or get an actual list of them instead of an object/list of objects?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions