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

--list not working for GCE on latest version using normal nat_ip #130

Open
Obsecurus opened this issue Oct 17, 2019 · 3 comments
Open

--list not working for GCE on latest version using normal nat_ip #130

Obsecurus opened this issue Oct 17, 2019 · 3 comments

Comments

@Obsecurus
Copy link

Obsecurus commented Oct 17, 2019

terraform-inventory version '0.9'
Terraform v0.12.10
+ provider.aws v2.33.0
+ provider.azurerm v1.35.0
+ provider.digitalocean v1.9.1
+ provider.google v2.17.0
+ provider.linode v1.8.0
+ provider.openstack v1.23.0
+ provider.random v2.2.1

AWS, Azure, DigitalOcean, Linode, and OpenStack all return but Google does not. I'm using the google provider not google-beta.

@Obsecurus
Copy link
Author

Sample Network Section (IPs and project names changed to 1.2.3.4 and renamed for ref)

"network_interface": [
        {
            "access_config": [
                {
                    "assigned_nat_ip": "",
                    "nat_ip": "1.2.3.4",
                    "network_tier": "PREMIUM",
                    "public_ptr_domain_name": ""
                }
            ],
            "address": "",
            "alias_ip_range": [],
            "name": "nic0",
            "network": "https://www.googleapis.com/compute/v1/projects/renamed/global/networks/default",
            "network_ip": "1.2.3.4",
            "subnetwork": "https://www.googleapis.com/compute/v1/projects/renamed/regions/asia-east1/subnetworks/default",
            "subnetwork_project": "renamed"
        }
    ]

@ptgeorge
Copy link

I have the same issue. I also have a fix that I just worked out.

ptgeorge added a commit to ptgeorge/terraform-inventory that referenced this issue Nov 24, 2019
@edbizarro
Copy link

Same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants