PaloAltoNetworks / terraform-google-vmseries-modules

Terraform Reusable Modules for VM-Series on Google Cloud Platform (GCP)
https://registry.terraform.io/modules/PaloAltoNetworks/vmseries-modules/google
MIT License
16 stars 27 forks source link

vmseries module - discrepancy in network_interface parameters in main.tf #121

Closed darrenmillin closed 2 years ago

darrenmillin commented 2 years ago

Describe the bug

Line 35 of main.tf uses private_address as a network_interface parameter, but private_ip is used in variables.tf and in the module documentation

Expected behavior

If private_ip is used when calling the module, the specified ip address should be used.

Current behavior

The content of private_ip is ignored, and a random ip address is used.

Possible solution

The parameter, private_address, on line 35 of main.tf should be changed to private_ip

Steps to reproduce

1. 2. 3. 4.

Screenshots

Context

Your Environment

welcome-to-palo-alto-networks[bot] commented 2 years ago

:tada: Thanks for opening your first issue here! Welcome to the community!

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 0.4.0 :tada:

The release is available on Terraform Registry and GitHub release

Posted by semantic-release bot