Skip to content

Commit b73d165

Browse files
Rollback func getFirewallMode
1 parent 0ed0b0a commit b73d165

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/integration/networks/networks_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ func getNetworkMode(t *testing.T) string {
3838
return ""
3939
}
4040

41+
func getFirewallMode(t *testing.T) string {
42+
mode := utils.ValFromEnv(t, "TF_VAR_example_foundations_mode")
43+
if mode == "HubAndSpoke" {
44+
return "hub-and-spoke"
45+
}
46+
return "dual-svpc"
47+
}
48+
4149
func getNetworkResourceNames(envCode string, networkMode string, firewallMode string) map[string]map[string]string {
4250
return map[string]map[string]string{
4351
"base": {

0 commit comments

Comments
 (0)