mirror of
https://github.com/adammck/terraform-inventory
synced 2024-11-23 04:22:08 +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() {
|
func init() {
|
||||||
keyNames = []string{
|
keyNames = []string{
|
||||||
"ipv4_address", // DO
|
"ipv4_address", // DO
|
||||||
"public_ip", // AWS
|
"public_ip", // AWS
|
||||||
"private_ip", // AWS
|
"private_ip", // AWS
|
||||||
"ipaddress", // CS
|
"ipaddress", // CS
|
||||||
"ip_address", // VMware
|
"ip_address", // VMware
|
||||||
"access_ip_v4", // OpenStack
|
"access_ip_v4", // OpenStack
|
||||||
"floating_ip", // OpenStack
|
"floating_ip", // OpenStack
|
||||||
"network_interface.0.access_config.0.nat_ip", // GCE
|
"network_interface.0.access_config.0.nat_ip", // GCE
|
||||||
"network_interface.0.address", // GCE
|
"network_interface.0.access_config.0.assigned_nat_ip", // GCE
|
||||||
|
"network_interface.0.address", // GCE
|
||||||
}
|
}
|
||||||
|
|
||||||
// type.name.0
|
// type.name.0
|
||||||
|
Loading…
Reference in New Issue
Block a user