@@ -294,49 +294,3 @@ func TestHerokuSpaceGeneration(t *testing.T) {
294294 })
295295 }
296296}
297-
298- // Test step functions for Fir-specific feature validation
299- // These validate that unsupported features fail properly on Fir spaces
300-
301- func testStep_AccHerokuSpaceVPNConnection_FirValidation (t * testing.T , spaceConfig string ) resource.TestStep {
302- return resource.TestStep {
303- Config : spaceConfig + `
304- resource "heroku_space_vpn_connection" "fir_vpn_fail" {
305- name = "fir-vpn-should-fail"
306- space = heroku_space.foobar.id
307- generation = "fir"
308- public_ip = "203.0.113.10"
309- routable_cidrs = ["192.168.1.0/24"]
310- }` ,
311- ExpectError : regexp .MustCompile ("generation.*fir.*not supported|vpn.*not supported.*fir" ),
312- }
313- }
314-
315- func testStep_AccHerokuSpaceInboundRuleset_FirValidation (t * testing.T , spaceConfig string ) resource.TestStep {
316- return resource.TestStep {
317- Config : spaceConfig + `
318- resource "heroku_space_inbound_ruleset" "fir_inbound_fail" {
319- space = heroku_space.foobar.id
320- generation = "fir"
321-
322- rule {
323- action = "allow"
324- source = "0.0.0.0/0"
325- }
326- }` ,
327- ExpectError : regexp .MustCompile ("generation.*fir.*not supported|inbound.*not supported.*fir" ),
328- }
329- }
330-
331- func testStep_AccHerokuSpacePeeringConnection_FirValidation (t * testing.T , spaceConfig string ) resource.TestStep {
332- return resource.TestStep {
333- Config : spaceConfig + `
334- resource "heroku_space_peering_connection_accepter" "fir_peering_fail" {
335- space = heroku_space.foobar.id
336- generation = "fir"
337- vpc_peering_connection_id = "pcx-123456789abcdef01"
338- type = "aws"
339- }` ,
340- ExpectError : regexp .MustCompile ("generation.*fir.*not supported|peering.*not supported.*fir" ),
341- }
342- }
0 commit comments