diff --git a/nsxt/resource_nsxt_policy_gateway_dns_forwarder_test.go b/nsxt/resource_nsxt_policy_gateway_dns_forwarder_test.go index 9b36b44e4..e2a1259c1 100644 --- a/nsxt/resource_nsxt_policy_gateway_dns_forwarder_test.go +++ b/nsxt/resource_nsxt_policy_gateway_dns_forwarder_test.go @@ -263,12 +263,13 @@ resource "nsxt_policy_gateway_dns_forwarder" "test" { } data "nsxt_policy_gateway_dns_forwarder" "test" { +%s display_name = "%s" gateway_path = nsxt_policy_tier%d_gateway.test.path depends_on = [nsxt_policy_gateway_dns_forwarder.test] } -`, context, attrMap["display_name"], attrMap["description"], whyDoesGoNeedToBeSoComplicated[isT0], attrMap["listener_ip"], attrMap["enabled"], attrMap["log_level"], attrMap["cache_size"], attrMap["display_name"], whyDoesGoNeedToBeSoComplicated[isT0]) +`, context, attrMap["display_name"], attrMap["description"], whyDoesGoNeedToBeSoComplicated[isT0], attrMap["listener_ip"], attrMap["enabled"], attrMap["log_level"], attrMap["cache_size"], context, attrMap["display_name"], whyDoesGoNeedToBeSoComplicated[isT0]) } func testAccNsxtPolicyGatewayDNSForwarderMinimalistic(isT0, withContext bool) string {