@@ -19,7 +19,6 @@ package provider
19
19
20
20
// Section below is generated&owned by "gen/generator.go". //template:begin imports
21
21
import (
22
- "os"
23
22
"testing"
24
23
25
24
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -43,19 +42,12 @@ func TestAccFmcVPNRA(t *testing.T) {
43
42
checks = append (checks , resource .TestCheckResourceAttr ("fmc_vpn_ra.test" , "web_access_port_number" , "443" ))
44
43
checks = append (checks , resource .TestCheckResourceAttr ("fmc_vpn_ra.test" , "dtls_port_number" , "443" ))
45
44
checks = append (checks , resource .TestCheckResourceAttr ("fmc_vpn_ra.test" , "bypass_access_control_policy_for_decrypted_traffic" , "false" ))
46
- checks = append (checks , resource .TestCheckResourceAttrSet ("fmc_vpn_ra.test" , "secure_client_customization_id" ))
47
45
checks = append (checks , resource .TestCheckResourceAttrSet ("fmc_vpn_ra.test" , "address_assignment_policy_id" ))
48
46
checks = append (checks , resource .TestCheckResourceAttrSet ("fmc_vpn_ra.test" , "certificate_map_id" ))
49
47
checks = append (checks , resource .TestCheckResourceAttrSet ("fmc_vpn_ra.test" , "ldap_attribute_map_id" ))
50
- checks = append (checks , resource .TestCheckResourceAttrSet ("fmc_vpn_ra.test" , "load_balancing_id" ))
51
48
checks = append (checks , resource .TestCheckResourceAttrSet ("fmc_vpn_ra.test" , "ipsec_ike_parameters_id" ))
52
49
53
50
var steps []resource.TestStep
54
- if os .Getenv ("SKIP_MINIMUM_TEST" ) == "" {
55
- steps = append (steps , resource.TestStep {
56
- Config : testAccFmcVPNRAPrerequisitesConfig + testAccFmcVPNRAConfig_minimum (),
57
- })
58
- }
59
51
steps = append (steps , resource.TestStep {
60
52
Config : testAccFmcVPNRAPrerequisitesConfig + testAccFmcVPNRAConfig_all (),
61
53
Check : resource .ComposeTestCheckFunc (checks ... ),
@@ -389,20 +381,6 @@ locals {
389
381
// End of section. //template:end testPrerequisites
390
382
391
383
// Section below is generated&owned by "gen/generator.go". //template:begin testAccConfigMinimal
392
-
393
- func testAccFmcVPNRAConfig_minimum () string {
394
- config := `resource "fmc_vpn_ra" "test" {` + "\n "
395
- config += ` name = "my_ftd_ra_vpn"` + "\n "
396
- config += ` access_interfaces = [{` + "\n "
397
- config += ` id = fmc_security_zone.test.id` + "\n "
398
- config += ` }]` + "\n "
399
- config += ` group_policies = [{` + "\n "
400
- config += ` id = data.fmc_group_policy.test.id` + "\n "
401
- config += ` }]` + "\n "
402
- config += `}` + "\n "
403
- return config
404
- }
405
-
406
384
// End of section. //template:end testAccConfigMinimal
407
385
408
386
// Section below is generated&owned by "gen/generator.go". //template:begin testAccConfigAll
0 commit comments