mirror of
https://github.com/adammck/terraform-inventory
synced 2024-11-22 20:01:58 +01:00
Merge pull request #26 from botto/master
GCE nat_ip has changed to assigned_nat_ip
This commit is contained in:
commit
229202334c
19
resource.go
19
resource.go
@ -15,15 +15,16 @@ var nameParser *regexp.Regexp
|
||||
|
||||
func init() {
|
||||
keyNames = []string{
|
||||
"ipv4_address", // DO
|
||||
"public_ip", // AWS
|
||||
"private_ip", // AWS
|
||||
"ipaddress", // CS
|
||||
"ip_address", // VMware
|
||||
"access_ip_v4", // OpenStack
|
||||
"floating_ip", // OpenStack
|
||||
"network_interface.0.access_config.0.nat_ip", // GCE
|
||||
"network_interface.0.address", // GCE
|
||||
"ipv4_address", // DO
|
||||
"public_ip", // AWS
|
||||
"private_ip", // AWS
|
||||
"ipaddress", // CS
|
||||
"ip_address", // VMware
|
||||
"access_ip_v4", // OpenStack
|
||||
"floating_ip", // OpenStack
|
||||
"network_interface.0.access_config.0.nat_ip", // GCE
|
||||
"network_interface.0.access_config.0.assigned_nat_ip", // GCE
|
||||
"network_interface.0.address", // GCE
|
||||
}
|
||||
|
||||
// type.name.0
|
||||
|
Loading…
Reference in New Issue
Block a user