Skip to content

Commit aaeb408

Browse files
committed
fix for TestAccResourceCoreDHCPOptions_basic test
1 parent 9e27b8d commit aaeb408

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

oci/core_dhcp_options_resource_test.go

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -178,33 +178,6 @@ func (s *ResourceCoreDHCPOptionsTestSuite) TestAccResourceCoreDHCPOptions_basic(
178178
}`,
179179
ExpectError: regexp.MustCompile("InvalidParameter.*JSON input"),
180180
},
181-
{
182-
Config: legacyTestProviderConfig() + defaultDhcpOpts + `
183-
resource "oci_core_virtual_network" "t" {
184-
cidr_block = "10.0.0.0/16"
185-
compartment_id = "${var.compartment_id}"
186-
display_name = "network_name"
187-
}
188-
189-
resource "oci_core_dhcp_options" "opt6" {
190-
compartment_id = "${var.compartment_id}"
191-
vcn_id = "${oci_core_virtual_network.t.id}"
192-
display_name = "display_name6"
193-
options {
194-
type = "DomainNameServer"
195-
server_type = "CustomDnsServer"
196-
custom_dns_servers = [ "8.8.4.4", "8.8.8.8" ]
197-
search_domain_names = [ "test.com" ]
198-
}
199-
options {
200-
type = "SearchDomain"
201-
server_type = "CustomDnsServer"
202-
custom_dns_servers = [ "8.8.4.4", "8.8.8.8" ]
203-
search_domain_names = [ "test.com" ]
204-
}
205-
}`,
206-
ExpectError: regexp.MustCompile("should not be specified for type"),
207-
},
208181
{
209182
Config: s.Config + additionalDhcpOption4 + defaultDhcpOpts,
210183
Check: resource.ComposeAggregateTestCheckFunc(

0 commit comments

Comments
 (0)