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

Unable to add alias ip range for vm series ha module #5

Closed
umangr036 opened this issue Jan 17, 2024 · 3 comments · Fixed by #10
Closed

Unable to add alias ip range for vm series ha module #5

umangr036 opened this issue Jan 17, 2024 · 3 comments · Fixed by #10

Comments

@umangr036
Copy link

Describe the bug

Hi Team,

is it possible to add tf vars of how alias ip range can be given in this module. i am trying to do add it but not able to do that. the values are not getting picked up by the code

Module Version

v1.3.2

Terraform version

No response

Expected behavior

na

Current behavior

na

Anything else to add?

na

@migara migara transferred this issue from PaloAltoNetworks/terraform-google-vmseries-modules Jan 17, 2024
@umangr036
Copy link
Author

umangr036 commented Jan 18, 2024

i think the alias_ip_ranges should be replaced with alias_ip_range. please let us know your review/comments on it. it is causing issues.

image

@horiagunica
Copy link
Contributor

@umangr036 hello! Would you kindly share the code section with the vmseries module that you used and from which you got this error?

@umangr036
Copy link
Author

dynamic "alias_ip_range" {
for_each = try(network_interface.value.alias_ip_ranges, [])
content {
ip_cidr_range = alias_ip_ranges.value.ip_cidr_range
subnetwork_range_name = try(alias_ip_ranges.value.subnetwork_range_name, null)
}
}
}
}

#alias_ip_ranges should be replaced with alias_ip_range in the block

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