You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a rule to create a NAT64 rule and think the code is right but need some help to see what i am doing wrong: error is Some error has occurred. (code 500130)
Describe the bug
I am trying to create a rule to create a NAT64 rule and think the code is right but need some help to see what i am doing wrong: error is Some error has occurred. (code 500130)
code:
Creation of NAT Rules for with NAT64 Action
resource "nsxt_policy_nat_rule" "nat_rule_list_nat64" {
for_each = var.nat_rule_creation_list_nat64
display_name = each.value.display_name
action = each.value.action
source_networks = each.value.source_networks
destination_networks = each.value.destination_networks
translated_networks = each.value.translated_networks
gateway_path = data.nsxt_policy_tier1_gateway.tier1_gateway.path
logging = false
firewall_match = each.value.firewall_match
service = data.nsxt_policy_service.nat64_service.path
}
variable
variable "nat_rule_creation_list_nat64" {
description = ""
type = map(object({
display_name = string
action = string
source_networks = list(string)
destination_networks = list(string)
translated_networks = list(string)
firewall_match = string
}))
default = {
"config_1" = {
display_name = "test_nat64"
action = "NAT64"
source_networks = ["2002:db8:0:0:0:0:0:0"]
destination_networks = ["2001:db8:122:344::/96"]
translated_networks = ["192.0.2.33"]
firewall_match = "BYPASS"
}
}
}
Reproduction steps
Expected behavior
Create the Rule, i tried all this info manually first and it works
Additional context
No response
The text was updated successfully, but these errors were encountered: